csharp
public static class MeshRenderablesReading and writing an entity's mesh.
Methods (3)
public static MeshRenderable Default(AssetReference mesh)A renderable pointing at a mesh, with the values a new one should have.
public static void Attach(World world, Entity entity, MeshRenderable renderable)Puts a mesh on an entity, replacing whatever was there.
public static bool TryGet(World world, Entity entity, out MeshRenderable renderable)What mesh an entity draws, if it draws one.
Used by (17)
- PbrShowcaseGamePbrShowcase
- PlayerRigThirdPersonShooter
- CompositorImageTestsVixen.Graphics.Golden.Tests
- MeshExtractionTestsVixen.Rendering.Tests
- MeshRenderableVixen.Rendering
- MorphRenderFeatureTestsVixen.Rendering.Tests
- MorphedClusterTestsVixen.Rendering.Tests
- VirtualGeometryCasterTestsVixen.Rendering.Tests
- VirtualGeometryExtractionTestsVixen.Rendering.Tests
- BlockoutBooleanTestsVixen.Editor.Blockout.Tests
- BlockoutHandoffVixen.Editor.Blockout
- DropIntoFieldTestsVixen.Editor.App.Tests
- SceneLinesVixen.Editor.SceneView
- SceneMaterialTestsVixen.Editor.SceneView.Tests
- SceneMeshAssetTestsVixen.Editor.SceneView.Tests
- SceneMeshesVixen.Editor.SceneView
- SelectionCageTestsVixen.Editor.SceneView.Tests