Vixen
02b45cc4
csharp
public sealed class ProxyShapeSet

Every proxy shape one body carries.

Read the guide page for this →

Remarks

Authored against a skeleton and referenced the way a material is. A set is shared by every character wearing that body, so nothing per-character is stored here — where the shapes currently are belongs to ProxyShapes, which is per-animator.

Fields and properties (5)

  • public string Name

    What the set is called.

  • public Symbol Vocabulary

    Which vocabulary it declares itself against, or None.

  • public int Count

    How many shapes it holds.

  • public ReadOnlySpan<ProxyShape> Shapes

    The shapes.

  • public ProxyShape this[int index]

    One shape.

Methods (6)

  • public int IndexOf(Symbol name)

    Where a named shape is, or −1.

  • public int IndexOf(string name)

    Where a named shape is, or −1.

  • public int FirstTagged(Facet tag)

    The first shape carrying a tag, or −1.

  • public static ProxyShapeSet Of(string name, string? vocabulary, params ReadOnlySpan<ProxyShape> shapes)

    Builds a set.

  • public ProxyShapeSet Resized(string name, Vector3 scale)

    The same set with every shape resized.

  • public override string ToString()

    Returns a string that represents the current object.

Used by (32)

  • ConstraintStageBenchmarksVixen.Benchmarks.Animation
  • AuthoringTestsVixen.Animation.Tests
  • BakedVixen.Animation
  • BodiesVixen.Animation
  • BodyVariationVixen.Animation
  • ConstraintGizmosVixen.Animation
  • ConstraintProposalsVixen.Animation
  • GizmoTestsVixen.Animation.Tests
  • HarnessPlanVixen.Animation
  • HarnessPlanContentVixen.Animation
  • HarnessSubjectVixen.Animation
  • LoadPathTestsVixen.Animation.Tests
  • ProxyShapeAuditVixen.Animation
  • ProxyShapeCacheVixen.Animation
  • ProxyShapeSetContentVixen.Animation
  • ProxyShapeTestsVixen.Animation.Tests
  • ProxyShapesVixen.Animation
  • ShapeVocabularyVixen.Animation
  • TestBodyVixen.Animation.Tests
  • TestBodyVixen.Animation.Tests
  • TestRailVixen.Animation.Tests
  • AnimationBinderVixen.Editor.AssetEditors
  • AnimationWiringTestsVixen.Editor.App.Tests
  • AuthoringContextVixen.Editor.AssetEditors
  • AuthoringContextTestsVixen.Editor.AssetEditors.Tests
  • HarnessInputsVixen.Editor.AssetEditors
  • HarnessViewTestsVixen.Editor.AssetEditors.Tests
  • ProposalInputsVixen.Editor.AssetEditors
  • ProxyShapeDocumentVixen.Editor.AssetEditors
  • ProxyShapeImporterTestsVixen.Editor.Assets.Tests
  • ProxyShapeSetImporterVixen.Editor.Assets
  • ProxyShapeViewVixen.Editor.AssetEditors