Click or drag to resize

FreeTeleportSettingsConfig Class

USe this component on a gameobject under the App object's hierarchy to configure the free teleport system
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDK.ConfigConfigComponent
            ImmerseSDK.ConfigFreeTeleportSettingsConfig

Namespace:  ImmerseSDK.Config
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public class FreeTeleportSettingsConfig : ConfigComponent, 
	IFreeTeleportSettings, IConfigProperty

The FreeTeleportSettingsConfig type exposes the following members.

Constructors
  NameDescription
Public methodFreeTeleportSettingsConfig
Initializes a new instance of the FreeTeleportSettingsConfig class
Top
Properties
  NameDescription
Public propertyFadeTimeInSeconds
How long to wait for fading in/out (in seconds)
Public propertyIgnoreLayerMask
True if the layer mask is an ignore mask, otherwise false if it is an include mask
Public propertyIgnoreSlopedSurfaces
If set to true, we will check the hit point and if it is sloped, we will ignore the hit (if the dot product of the hit point normal with the world up vector normal < 0.99f)
Public propertyNavAreaMask
The area mask to use when we query the unity nav mesh
Public propertyRaycastLayerMask
Layers to include or ignore, depending on the _ignoreLayerMask value
Public propertySampleRadius
The radius to sample when we query the unity nav mesh
Top
Methods
  NameDescription
Public methodCheckPoint
Check the hitpoint is valid
Top
Fields
  NameDescription
Private field_fadeTimeInSeconds
Private field_ignoreLayerMask
True if the layer mask is an ignore mask, otherwise false if it is an include mask
Private field_ignoreSlopedSurfaces
If set to true, we will check the hit point and if it is sloped, we will ignore the hit (if the dot product of the hit point normal with the world up vector normal < 0.99f)
Private field_navAreaMask
The area mask to use when we query the unity nav mesh
Private field_raycastLayerMask
Layers to include or ignore, depending on the _ignoreLayerMask value
Private field_sampleRadius
The radius to sample when we query the unity nav mesh
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