Struct MultiParentConstraintData
The MultiParent constraint data.
Inherited Members
Namespace: UnityEngine.Animations.Rigging
Assembly: Unity.Animation.Rigging.dll
Syntax
[Serializable]
public struct MultiParentConstraintData : IAnimationJobData, IMultiParentConstraintData
Properties
constrainedObject
The Transform affected by the constraint Source Transforms.
Declaration
public Transform constrainedObject { get; set; }
Property Value
Type | Description |
---|---|
Transform |
constrainedPositionXAxis
Toggles whether the constrained transform will translate along the X axis.
Declaration
public bool constrainedPositionXAxis { get; set; }
Property Value
Type | Description |
---|---|
bool |
constrainedPositionYAxis
Toggles whether the constrained transform will translate along the Y axis.
Declaration
public bool constrainedPositionYAxis { get; set; }
Property Value
Type | Description |
---|---|
bool |
constrainedPositionZAxis
Toggles whether the constrained transform will translate along the Z axis.
Declaration
public bool constrainedPositionZAxis { get; set; }
Property Value
Type | Description |
---|---|
bool |
constrainedRotationXAxis
Toggles whether the constrained transform will rotate along the X axis.
Declaration
public bool constrainedRotationXAxis { get; set; }
Property Value
Type | Description |
---|---|
bool |
constrainedRotationYAxis
Toggles whether the constrained transform will rotate along the Y axis.
Declaration
public bool constrainedRotationYAxis { get; set; }
Property Value
Type | Description |
---|---|
bool |
constrainedRotationZAxis
Toggles whether the constrained transform will rotate along the Z axis.
Declaration
public bool constrainedRotationZAxis { get; set; }
Property Value
Type | Description |
---|---|
bool |
maintainPositionOffset
This is used to maintain the current position offset from the constrained GameObject to the source GameObjects.
Declaration
public bool maintainPositionOffset { get; set; }
Property Value
Type | Description |
---|---|
bool |
maintainRotationOffset
This is used to maintain the current rotation offset from the constrained GameObject to the source GameObjects.
Declaration
public bool maintainRotationOffset { get; set; }
Property Value
Type | Description |
---|---|
bool |
sourceObjects
The list of Transforms that influence the constrained Transform rotation. Each source has a weight from 0 to 1.
Declaration
public WeightedTransformArray sourceObjects { get; set; }
Property Value
Type | Description |
---|---|
WeightedTransformArray |