restTransform
TypeScriptget restTransform(): TransformSwift declarationvar restTransform: TransformThe local space transformation of the joint in the solver's rest pose.
struct · iOS 18.0+ · SDK 27.1
struct JointA definition of a rig joint and its IK solver settings.
get restTransform(): TransformSwift declarationvar restTransform: TransformThe local space transformation of the joint in the solver's rest pose.
set restTransform(value: Transform)Swift declarationvar restTransform: TransformThe local space transformation of the joint in the solver's rest pose.
get fkWeightPerAxis(): SDKHandleSwift declarationvar fkWeightPerAxis: SIMD3<Float>The per-axis weight of the FK demand on the joint. Values are in the closed range `[0, 1]`, where `0` means no influence, and `1` is maximum influence.
set fkWeightPerAxis(value: SDKHandle)Swift declarationvar fkWeightPerAxis: SIMD3<Float>The per-axis weight of the FK demand on the joint. Values are in the closed range `[0, 1]`, where `0` means no influence, and `1` is maximum influence.
get rotationStiffness(): SDKHandleSwift declarationvar rotationStiffness: SIMD3<Float>The per-axis rotational stiffness of the joint. A joint with higher stiffness rotates less to reach demands. Values are in the closed range `[0, 1]`, where `0` means free to rotate, and `1` is no movement.
set rotationStiffness(value: SDKHandle)Swift declarationvar rotationStiffness: SIMD3<Float>The per-axis rotational stiffness of the joint. A joint with higher stiffness rotates less to reach demands. Values are in the closed range `[0, 1]`, where `0` means free to rotate, and `1` is no movement.
get id(): IKRig_Joint_IDSwift declarationvar id: IKRig.Joint.ID { get }The identifier of the joint.
static init(name: string, parentID?: (IKRig_Joint_ID) | null, restTransform?: Transform): IKRig_JointSwift declarationinit(name: String, parentID: IKRig.Joint.ID? = nil, restTransform: Transform = .identity)Creates a joint with the provided base elements. - Parameters: - name: The name of the new joint. - parentID: The name of the parent joint if there is one. - restTransform: The offset of this joint from its parent (local space).
get name(): stringSwift declarationlet name: StringThe name of the joint.
get active(): booleanSwift declarationvar active: BoolA boolean value that sets whether the solver rotates the joint. Leaf hierarchies that do not need to be directly constrained can be deactivated to reduce the compute cost of the solver.
set active(value: boolean)Swift declarationvar active: BoolA boolean value that sets whether the solver rotates the joint. Leaf hierarchies that do not need to be directly constrained can be deactivated to reduce the compute cost of the solver.
get limits(): (IKRig_Joint_LimitsDefinition) | nullSwift declarationvar limits: IKRig.Joint.LimitsDefinition?The per-axis rotation limits of the joint.
set limits(value: (IKRig_Joint_LimitsDefinition) | null)Swift declarationvar limits: IKRig.Joint.LimitsDefinition?The per-axis rotation limits of the joint.
get parentID(): (IKRig_Joint_ID) | nullSwift declarationvar parentID: IKRig.Joint.ID?The identifier of the parent joint if there is one.
set parentID(value: (IKRig_Joint_ID) | null)Swift declarationvar parentID: IKRig.Joint.ID?The identifier of the parent joint if there is one.
No declarations were skipped in this snapshot.