@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / VRTeleportAreaOptions
Type Alias: VRTeleportAreaOptions ​
ts
type VRTeleportAreaOptions = {
enabled?: boolean;
shape?: VrTeleportShape;
width?: number;
depth?: number;
};Defined in: components/VRTeleportArea.ts:7
Optional initializer for VRTeleportAreaComponent.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
enabled? | boolean | Disable to keep the area authored but inert. | components/VRTeleportArea.ts:9 |
shape? | VrTeleportShape | Footprint shape. | components/VRTeleportArea.ts:11 |
width? | number | Full width in metres (plane), or diameter (circle). | components/VRTeleportArea.ts:13 |
depth? | number | Full depth in metres. Ignored for circle, which uses width. | components/VRTeleportArea.ts:15 |

