Struct MultiReferentialConstraintData
The MultiReferential constraint data.
Inherited Members
Namespace: UnityEngine.Animations.Rigging
Assembly: Unity.Animation.Rigging.dll
Syntax
[Serializable]
public struct MultiReferentialConstraintData : IAnimationJobData, IMultiReferentialConstraintData
Properties
driver
The driver index. This is a value in between 0 and the number of sourceObjects.
Declaration
public int driver { get; set; }
Property Value
Type | Description |
---|---|
int |
sourceObjects
The list of Transforms that are affected by the specified driver.
Declaration
public List<Transform> sourceObjects { get; set; }
Property Value
Type | Description |
---|---|
List<Transform> |
Methods
UpdateDriver()
Updates the driver index to match the number of source objects.
Declaration
public void UpdateDriver()