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 (9)
- PlayerRigThirdPersonShooter
- MeshExtractionTestsVixen.Rendering.Tests
- VirtualGeometryExtractionTestsVixen.Rendering.Tests
- BlockoutBooleanTestsVixen.Editor.Blockout.Tests
- BlockoutHandoffVixen.Editor.Blockout
- DropIntoFieldTestsVixen.Editor.App.Tests
- SceneMaterialTestsVixen.Editor.SceneView.Tests
- SceneMeshAssetTestsVixen.Editor.SceneView.Tests
- SceneMeshesVixen.Editor.SceneView