@ue-too/board / index / RotationLimits
型エイリアス: RotationLimits
RotationLimits =
object
定義: packages/board/src/camera/utils/rotation.ts:19
Constraints for camera rotation defining an angular range with direction.
Remarks
Rotation limits define an angular arc. The direction (ccw) determines which way around the circle the range extends from start to end.
For example:
- start=0, end=π/2, ccw=true: allows 0 to π/2 (0° to 90°)
- start=0, end=π/2, ccw=false: allows 0 to -3π/2 going clockwise (0° to 270° the other way)
プロパティ
ccw
ccw:
boolean
定義: packages/board/src/camera/utils/rotation.ts:22
If true, the range is measured counter-clockwise from start to end. If false, clockwise
end
end:
number
定義: packages/board/src/camera/utils/rotation.ts:21
Ending angle of the allowed range in radians
start
start:
number
定義: packages/board/src/camera/utils/rotation.ts:20
Starting angle of the allowed range in radians
startAsTieBreaker
startAsTieBreaker:
boolean
定義: packages/board/src/camera/utils/rotation.ts:23
When clamping and distance to start equals distance to end, clamp to start if true, end if false