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:43
Farthest the owner can be moved from the viewer, in meters.
minDistance?
optionalminDistance:number
Defined in: src/interaction/manipulation/ManipulationTypes.ts:41
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:39
Pushes the owner away or pulls it closer along a controller ray with the thumbstick while translating: forward pushes, back pulls.
scaleWithDistance?
optionalscaleWithDistance:boolean
Defined in: src/interaction/manipulation/ManipulationTypes.ts:34
Scales the owner with its distance from the camera while translating, matching Android XR panels: apparent size stays constant up to 1.75 meters, then scale grows at 0.5 meters per meter so farther owners look smaller. Clamped by the Scale action limits.
smoothing?
optionalsmoothing:number
Defined in: src/interaction/manipulation/ManipulationTypes.ts:27
Camera-facing rotation smoothing, matching FaceCamera.