csharp
public record class ModelPartOne drawable piece of a model: a mesh, at a node, with a material.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The mesh is named rather than pointed at. An import writes each mesh as its own chunk under a sub-asset, and the ids of those chunks are assigned by the pipeline after the importer has finished — so nothing the importer writes can hold one. The name is what the build turns into an address (characters/hero#Hero_Mesh), and it is also the thing a person reads in a debugger.
Fields and properties (3)
public string MeshThe mesh's sub-asset name.
public int NodeWhich node it hangs off.
public int MaterialWhich of the model's materials it is drawn with.
Used by (9)
- ModelDataVixen.Rendering
- ModelDataTestsVixen.Rendering.Tests
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_ModelDataSerializerVixen.Rendering
- Vixen_Rendering_ModelPartSerializerVixen.Rendering
- ModelImporterTestsVixen.Editor.Assets.Tests
- ModelReaderVixen.Editor.Assets
- ModelReaderTestsVixen.Editor.Assets.Tests
- NavMeshImporterVixen.Editor.Assets