Vixen
02b45cc4
csharp
public record class ProxyShapeRecord

One shape, as a file holds it.

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

Remarks

⚠ The joint is a name and not an index, for AnimationChannel's reason: an index is a fact about the rig the set was authored against, and a set that survives a joint being inserted is worth more than one that loads a byte faster.

Fields and properties (9)

  • public string Name

    What it is called.

  • public ShapeKind Kind

    Which primitive.

  • public string Joint

    Which joint it hangs off, by name.

  • public Vector3 Position

    Where it sits relative to that joint.

  • public Quaternion Rotation

    Which way it is turned.

  • public Vector3 Extents

    Half its size at the base.

  • public Vector3 TopExtents

    Half its size at the top, or zero to match the base.

  • public string[] Tags

    What it affords, as key=value.

  • public bool Coarse

    Whether it survives the coarse generator unmerged.

Methods (2)

  • public ProxyShapeRecord(string Name, ShapeKind Kind, string Joint, Vector3 Position, Quaternion Rotation, Vector3 Extents, Vector3 TopExtents, string[] Tags, bool Coarse)

    One shape, as a file holds it.

  • public ProxyShapeRecord()

    A record with nothing filled in, for a deserialiser to write into.

Used by (9)

  • ProxyShapeSetContentVixen.Animation
  • TypeRegistrationVixen.Animation
  • Vixen_Animation_Constraints_ProxyShapeRecordSerializerVixen.Animation
  • Vixen_Animation_Constraints_ProxyShapeSetContentSerializerVixen.Animation
  • ProxyShapeDocumentVixen.Editor.AssetEditors
  • ProxyShapeEditorTestsVixen.Editor.AssetEditors.Tests
  • ProxyShapeGizmoTargetVixen.Editor.AssetEditors
  • ProxyShapeSetImporterVixen.Editor.Assets
  • ProxyShapeViewVixen.Editor.AssetEditors