Options
All
  • Public
  • Public/Protected
  • All
Menu

Options to modify the vr teleportation behavior.

Hierarchy

  • VRTeleportationOptions

Index

Properties

easingFunction?: EasingFunction

The easing function used in the animation or null for Linear. (default CircleEase)

floorMeshName?: string

The name of the mesh which should be used as the teleportation floor. (default: null)

floorMeshes?: Mesh[]

A list of meshes to be used as the teleportation floor. (default: empty)

teleportationMode?: number

The teleportation mode. (default: TELEPORTATIONMODE_CONSTANTTIME)

teleportationSpeed?: number

The speed of the animation in distance/sec, apply when animationMode is TELEPORTATIONMODE_CONSTANTSPEED. (default 20 units / sec)

teleportationTime?: number

The duration of the animation in ms, apply when animationMode is TELEPORTATIONMODE_CONSTANTTIME. (default 122ms)

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme