Class RigBuilder.RigLayer
Namespace: UnityEngine.Animations.Rigging
Syntax
[Serializable]
public class RigLayer
Constructors
RigLayer(Rig, Boolean)
Declaration
public RigLayer(Rig rig, bool active = true)
Parameters
| Type | Name | Description |
|---|---|---|
| Rig | rig | |
| Boolean | active |
Fields
active
Declaration
public bool active
Field Value
| Type | Description |
|---|---|
| Boolean |
data
Declaration
[NonSerialized]
public int data
Field Value
| Type | Description |
|---|---|
| Int32 |
rig
Declaration
public Rig rig
Field Value
| Type | Description |
|---|---|
| Rig |
Methods
Initialize(Animator)
Declaration
public bool Initialize(Animator animator)
Parameters
| Type | Name | Description |
|---|---|---|
| Animator | animator |
Returns
| Type | Description |
|---|---|
| Boolean |
IsValid()
Declaration
public bool IsValid()
Returns
| Type | Description |
|---|---|
| Boolean |
Reset()
Declaration
public void Reset()