csharp
public struct BoneMask.BuilderAssembles a mask joint by joint.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A mutable struct so that building one allocates the weight array and nothing else. It is a load-time or authoring-time object; nothing in a frame builds a mask.
Methods (3)
public BoneMask.Builder Set(string jointName, float weight, bool includeDescendants = true)Sets one joint's weight, and optionally every joint under it.
public BoneMask.Builder Set(int joint, float weight, bool includeDescendants = true)Sets one joint's weight, and optionally every joint under it.
public readonly BoneMask Build()Finishes the mask.
Used by (5)
- AnimatorTestsVixen.Animation.Tests
- BoneMaskVixen.Animation
- PoseBlendTestsVixen.Animation.Tests
- TransitionRuleRecordVixen.Animation
- AnimationGraphCompilerVixen.Editor.AnimationGraph