Documentation

Unity Engine

Download Unity

Unity Engine

Core.ParentConstraintData

Parent constraint solver settings.
Read time 1 minuteLast updated 4 hours ago

Definition

public struct Core.ParentConstraintData

Fields

Value

Description

IndexThe constrained bone index.
LocalRotationAxesMaskSpecifies the axes to which the constraint can apply rotation.
LocalTranslationAxesMaskSpecifies the axes to which the constraint can apply translation.
SourceOffsetsThe list of additional offsets to apply on the sources.
SourceTransformsThe list of source transforms that influence the constrained bone's position and orientation. The constraint applies linearly interpolated, weighted translation and rotation toward each target. The order of source transforms does not affect the result.
SourceWeightsThe list of weights each source contributes to the final constrained pose.

Static Methods

Method

Description

DefaultReturns a set of default values for the parent constraint solver.