Class RigEffectorData
This class holds the serialized data necessary to build a rig effector. This is saved in either the RigBuilder, or the Rig component.
Namespace: UnityEngine.Animations.Rigging
Syntax
[Serializable]
public class RigEffectorData
Properties
style
The visual style of the effector.
Declaration
public RigEffectorData.Style style { get; }
Property Value
Type | Description |
---|---|
RigEffectorData.Style |
transform
The Transform represented by the effector.
Declaration
public Transform transform { get; }
Property Value
Type | Description |
---|---|
Transform |
visible
The visibility state of the effector. True if visible, false otherwise.
Declaration
public bool visible { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Initialize(Transform, RigEffectorData.Style)
Initializes the effector with a Transform and a default style.
Declaration
public void Initialize(Transform transform, RigEffectorData.Style style)
Parameters
Type | Name | Description |
---|---|---|
Transform | transform | The Transform represented by the effector. |
RigEffectorData.Style | style | The visual style of the effector. |