Interface FBXConstraintData
active: boolean;
affectRotation: Bool3;
affectScale: Bool3;
affectTranslation: Bool3;
aimVector: Vec3;
id: number;
ikEffectorId?: number;
ikEndJointId?: number;
ikFirstJointId?: number;
ikPoleVector: Vec3;
name: string;
nodeId?: number;
offsetRotation: Vec3;
offsetScale: Vec3;
offsetTranslation: Vec3;
targets: FBXConstraintTarget[];
type: FBXConstraintType;
typeName: string;
upVector: Vec3;
weight: number;
worldUpNodeId?: number;
worldUpType: number;
worldUpVector: Vec3;
}
Properties
active
False when the constraint is switched off in the file
affect Rotation
Which rotation axes the constraint drives
affect Scale
Which scale axes the constraint drives
affect Translation
Which translation axes the constraint drives
aim Vector
Aim: local axis that points at the target
id
Constraint object id
Optionalik Effector Id
Single chain IK: model id of the effector
Optionalik End Joint Id
Single chain IK: model id of the last joint of the chain
Optionalik First Joint Id
Single chain IK: model id of the first joint of the chain
ik Pole Vector
Single chain IK: pole vector
name
Constraint name
Optionalnode Id
Constrained model
offset Rotation
Rotation offset of the constrained node, in degrees
offset Scale
Scale offset of the constrained node
offset Translation
Translation offset of the constrained node
targets
Weighted targets in file order
type
Resolved constraint kind
type Name
Constraint type name as written in the file (e.g. "Parent-Child")
up Vector
Aim: local axis aligned with the up direction
weight
Global weight (file value / 100)
Optionalworld Up Node Id
Aim: model id of the world up object (world up modes 1 and 2)
world Up Type
Aim: 0 scene up, 1 aim up node, 2 align to node, 3 vector, 4 none
world Up Vector
Aim: world up direction (world up modes 2 and 3)
A constraint object of the file, with its targets and parameters resolved.