zMax
Returns or specifies the maximum angular motion about the z-axis.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor
public float zMax { get; set; }
Remarks
The value returned by this property depends on the current value of the JointAngularLimitHandle.zMotion property. If it is ConfigurableJointMotion.Locked, then it will always return 0. If it is ConfigurableJointMotion.Free, then it will always return the upper limit of JointAngularLimitHandle.zRange. If it is ConfigurableJointMotion.Limited, then it will be clamped between the upper limit of JointAngularLimitHandle.zRange and the current value of JointAngularLimitHandle.zMin.
Additional Resources: JointAngularLimitHandle.zMin, JointAngularLimitHandle.zMotion, JointAngularLimitHandle.zRange.