Interface: TranslateOptions
Defined in: src/interaction/manipulation/ManipulationTypes.ts:20
Properties
capsuleHalfHeight?
optionalcapsuleHalfHeight:number
Defined in: src/interaction/manipulation/ManipulationTypes.ts:25
Half-height of the upright region used by capsule mode, in meters.
faceCamera?
optionalfaceCamera:boolean
Defined in: src/interaction/manipulation/ManipulationTypes.ts:21
maxDistance?
optionalmaxDistance:number
Defined in: src/interaction/manipulation/ManipulationTypes.ts:50
Farthest the owner can be moved from the viewer, in meters.
minDistance?
optionalminDistance:number
Defined in: src/interaction/manipulation/ManipulationTypes.ts:48
Closest the owner can be moved to the viewer, in meters.
mode?
optionalmode:FaceCameraMode
Defined in: src/interaction/manipulation/ManipulationTypes.ts:23
Camera-facing rotation mode used while translating.
pushPull?
optionalpushPull:boolean|PushPullOptions
Defined in: src/interaction/manipulation/ManipulationTypes.ts:46
Pushes the owner away or pulls it closer along a controller ray with the thumbstick while translating: forward pushes, back pulls.
raySmoothing?
optionalraySmoothing:boolean
Defined in: src/interaction/manipulation/ManipulationTypes.ts:34
Smooths the pointer ray that drives a ray move. Small hand movements as the pinch starts do not move the owner, then the ray blends in and eases toward the pointer, catching up faster when the hand reverses direction. Defaults to false.
scaleWithDistance?
optionalscaleWithDistance:boolean
Defined in: src/interaction/manipulation/ManipulationTypes.ts:41
Scales the owner with its distance from the camera while translating, so owners look larger when pulled closer and smaller when pushed away. A ray grab point keeps its place on the owner as it scales. Clamped by the Scale action limits.
smoothing?
optionalsmoothing:number
Defined in: src/interaction/manipulation/ManipulationTypes.ts:27
Camera-facing rotation smoothing, matching FaceCamera.