Click or drag to resize

Navigation Class

Encapsulates navigation for an avatar
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKLoggingBehaviour
            ImmerseSDK.AvatarsNavigation

Namespace:  ImmerseSDK.Avatars
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
[ScriptOrderAttribute(-30010)]
public sealed class Navigation : LoggingBehaviour

The Navigation type exposes the following members.

Constructors
  NameDescription
Public methodNavigation
Initializes a new instance of the Navigation class
Top
Properties
  NameDescription
Public propertyGrid
Play area grid
Public propertyTeleportMode
The current navigation mode
Top
Methods
  NameDescription
Public methodTeleport
Teleport the avatar to target position/rotation. Note: This method can return null, in which case there was no coroutine created to do the teleport
Top
Events
  NameDescription
Public eventOnAfterTeleport
Fired after we teleported the avatar
Public eventOnBeforeTeleport
Fired before we start to teleport the avatar
Top
Fields
  NameDescription
Public fieldStatic memberDefaultFadeTimeInSeconds
Default amount of time to allow for fading in/out
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also