Interface IRigEffectorHolder
This interface represents classes that hold and serialize effectors. Effectors do nothing during runtime.
Namespace: UnityEngine.Animations.Rigging
Assembly: Unity.Animation.Rigging.dll
Syntax
public interface IRigEffectorHolder
Properties
effectors
Declaration
IEnumerable<RigEffectorData> effectors { get; }
Property Value
Type | Description |
---|---|
IEnumerable<RigEffectorData> |
Methods
AddEffector(Transform, Style)
Adds a new effector to the IRigEffectorHolder.
Declaration
void AddEffector(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. |
ContainsEffector(Transform)
Queries whether there is an effector for the specified Transform.
Declaration
bool ContainsEffector(Transform transform)
Parameters
Type | Name | Description |
---|---|---|
Transform | transform | The Transform to query. |
Returns
Type | Description |
---|---|
bool | True if there is an effector for this transform. False otherwise. |
RemoveEffector(Transform)
Removes an effector from the IRigEffectorHolder.
Declaration
void RemoveEffector(Transform transform)
Parameters
Type | Name | Description |
---|---|---|
Transform | transform | The Transform from which to remove the effector. |