Skip to content

@ue-too/board / index / RotationBoundary

型別別名: RotationBoundary ​

RotationBoundary = object

定義於: packages/board/src/camera/utils/rotation.ts:39

Experimental rotation boundary type with positive/negative direction semantics.

備註 ​

This is an experimental alternative to RotationLimits with different direction semantics.

屬性 ​

end ​

end: number

定義於: packages/board/src/camera/utils/rotation.ts:41

Ending angle of the boundary in radians


positiveDirection ​

positiveDirection: boolean

定義於: packages/board/src/camera/utils/rotation.ts:42

If true, range extends in positive angle direction. If false, negative direction


start ​

start: number

定義於: packages/board/src/camera/utils/rotation.ts:40

Starting angle of the boundary in radians


startAsTieBreaker ​

startAsTieBreaker: boolean

定義於: packages/board/src/camera/utils/rotation.ts:43

When equidistant from start and end, prefer start if true, end if false