Vixen
02b45cc4
csharp
public record class ModelNode

One node of a model's hierarchy.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

A flat array with parent indices rather than a tree of references. Parents precede children, so composing world transforms is one forward pass with no recursion and no visited set — and the array serialises without a graph walk.

Fields and properties (3)

  • public string Name

    What it is called in the authoring tool.

  • public int Parent

    Its parent's index, or −1 for the root.

  • public Matrix4x4 Transform

    Its transform relative to its parent.

Used by (8)

  • ModelDataVixen.Rendering
  • ModelDataTestsVixen.Rendering.Tests
  • TypeRegistrationVixen.Rendering
  • Vixen_Rendering_ModelDataSerializerVixen.Rendering
  • Vixen_Rendering_ModelNodeSerializerVixen.Rendering
  • ModelReaderVixen.Editor.Assets
  • ModelReaderTestsVixen.Editor.Assets.Tests
  • NavMeshImporterVixen.Editor.Assets