maximumAngles
TypeScriptget maximumAngles(): SDKHandleSwift declarationvar maximumAngles: SIMD3<Float>The positive delta from the rest pose per-axis in radians.
struct · iOS 18.0+ · SDK 27.1
struct LimitsDefinitionA definition of joint rotation limits. Limit angles are defined as relative to the rest pose. - Important: The minimum angles need to be less than the maximum angles.
get maximumAngles(): SDKHandleSwift declarationvar maximumAngles: SIMD3<Float>The positive delta from the rest pose per-axis in radians.
set maximumAngles(value: SDKHandle)Swift declarationvar maximumAngles: SIMD3<Float>The positive delta from the rest pose per-axis in radians.
get minimumAngles(): SDKHandleSwift declarationvar minimumAngles: SIMD3<Float>The negative delta from the rest pose per-axis in radians.
set minimumAngles(value: SDKHandle)Swift declarationvar minimumAngles: SIMD3<Float>The negative delta from the rest pose per-axis in radians.
static init(weight?: number, boneAxis?: IKRig_Joint_LimitsDefinition_Axis, minimumAngles?: SDKHandle, maximumAngles?: SDKHandle): IKRig_Joint_LimitsDefinitionSwift declarationinit(weight: Float = 1.0, boneAxis: IKRig.Joint.LimitsDefinition.Axis = .x, minimumAngles: SIMD3<Float> = [-2.0 * .pi, -2.0 * .pi, -2.0 * .pi], maximumAngles: SIMD3<Float> = [2.0 * .pi, 2.0 * .pi, 2.0 * .pi])Creates a joint limits definition. - Important: The minimum angles need to be less than the maximum angles. - Parameters: - weight: The weight of the joint rotation limit demand. - boneAxis: The axis around which the bone twists. - minimumAngles: The negative delta from the rest pose per-axis in radians. - maximumAngles: The positive delta from the rest pose per-axis in radians.
get weight(): numberSwift declarationvar weight: FloatThe weight of the joint rotation limit demand. The value is in the closed range `[0, 1]`, where `0` means no influence, and `1` is maximum correction.
set weight(value: number)Swift declarationvar weight: FloatThe weight of the joint rotation limit demand. The value is in the closed range `[0, 1]`, where `0` means no influence, and `1` is maximum correction.
get boneAxis(): IKRig_Joint_LimitsDefinition_AxisSwift declarationvar boneAxis: IKRig.Joint.LimitsDefinition.AxisThe axis around which the bone twists.
set boneAxis(value: IKRig_Joint_LimitsDefinition_Axis)Swift declarationvar boneAxis: IKRig.Joint.LimitsDefinition.AxisThe axis around which the bone twists.
No declarations were skipped in this snapshot.