Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VRTeleportationOptions

Options to modify the vr teleportation behavior.

Hierarchy

  • VRTeleportationOptions

Index

Properties

Optional easingFunctionSearch playground for easingFunction

easingFunction: EasingFunction

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

Optional floorMeshNameSearch playground for floorMeshName

floorMeshName: string

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

Optional floorMeshesSearch playground for floorMeshes

floorMeshes: Mesh[]

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

Optional teleportationModeSearch playground for teleportationMode

teleportationMode: number

The teleportation mode. (default: TELEPORTATIONMODE_CONSTANTTIME)

Optional teleportationSpeedSearch playground for teleportationSpeed

teleportationSpeed: number

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

Optional teleportationTimeSearch playground for teleportationTime

teleportationTime: number

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

Legend

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