Skip to content

@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 ​

PropertyTypeDescriptionDefined in
enabled?booleanDisable to keep the area authored but inert.components/VRTeleportArea.ts:9
shape?VrTeleportShapeFootprint shape.components/VRTeleportArea.ts:11
width?numberFull width in metres (plane), or diameter (circle).components/VRTeleportArea.ts:13
depth?numberFull depth in metres. Ignored for circle, which uses width.components/VRTeleportArea.ts:15