Vixen
02b45cc4
csharp
public enum ShapeKind

The seven primitives a body is described with.

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

Remarks

⚠ Y is every shape's own long axis, and everything in this file assumes it. A capsule runs up Y, a cone's apex is at +Y, a box's height is Y. A limb that runs along X in the rig is oriented by its Offset, which is one rotation stored once against a convention that never has to be looked up again.

Fields and properties (7)

  • Box

    Six flat faces.

  • TaperedBox

    A box whose cross-section changes with height. A forearm, a thigh.

  • Sphere

    A ball. A head, a shoulder, a belly.

  • Capsule

    A cylinder with hemispherical ends. The workhorse for a limb.

  • TaperedCapsule

    A capsule whose radius changes with height.

  • Cylinder

    Flat-ended. A torso section, a prop.

  • Cone

    A base disc and an apex.

Used by (28)

  • ConstraintStageBenchmarksVixen.Benchmarks.Animation
  • AuthoringTestsVixen.Animation.Tests
  • ConstraintGizmosVixen.Animation
  • GizmoTestsVixen.Animation.Tests
  • LoadPathTestsVixen.Animation.Tests
  • ProxyShapeVixen.Animation
  • ProxyShapeRecordVixen.Animation
  • ProxyShapeTestsVixen.Animation.Tests
  • ProxyShapesVixen.Animation
  • ShapeClassMemberVixen.Animation
  • ShapeClassMemberRecordVixen.Animation
  • ShapeGeometryVixen.Animation
  • TestBodyVixen.Animation.Tests
  • TestBodyVixen.Animation.Tests
  • TestRailVixen.Animation.Tests
  • TypeRegistrationVixen.Animation
  • Vixen_Animation_Constraints_ProxyShapeRecordSerializerVixen.Animation
  • Vixen_Animation_Constraints_ShapeClassMemberRecordSerializerVixen.Animation
  • AnimationWiringTestsVixen.Editor.App.Tests
  • AuthoringContextVixen.Editor.AssetEditors
  • AuthoringContextTestsVixen.Editor.AssetEditors.Tests
  • HarnessViewTestsVixen.Editor.AssetEditors.Tests
  • ProxyShapeEditorTestsVixen.Editor.AssetEditors.Tests
  • ProxyShapeImporterTestsVixen.Editor.Assets.Tests
  • ProxyShapeViewVixen.Editor.AssetEditors
  • ShapeVocabularyDocumentVixen.Editor.AssetEditors
  • ShapeVocabularyTestsVixen.Editor.AssetEditors.Tests
  • ShapeVocabularyViewVixen.Editor.AssetEditors