Click or drag to resize

CameraTrackingTransform Class

The base class for all messages that track a VR users gaze
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKLoggingBehaviour
            ImmerseSDK.CameraCameraTrackingTransform
              ImmerseSDK.UI.MessageDisplayMessageDisplayDialog

Namespace:  ImmerseSDK.Camera
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public class CameraTrackingTransform : LoggingBehaviour

The CameraTrackingTransform type exposes the following members.

Constructors
  NameDescription
Public methodCameraTrackingTransform
Initializes a new instance of the CameraTrackingTransform class
Top
Properties
  NameDescription
Protected propertyCanvasTween
The CanvasTween component on this object
Public propertyIsCanvasHidden
Returns true if the canvas is currently set to an alpha of 0
Public propertyIsTrackingEnabled
True if this transform is currently tracking the camera, otherwise false
Protected propertyOffset
The offset for the tracking transform, based on the initial local position of the prefab
Public propertyShouldSmoothRotation
True if the rotation should be smoothed
Protected propertyShouldToggleGameObject
Should the object be disabled after hiding, and enabled when showing?
Public propertyShowInVROnly
Determines whether this message should only be shown in VR
Top
Methods
  NameDescription
Protected methodAwake
Unity component method
Protected methodGetCameraToUse
Protected methodGetOrCreateCanvasTween
Protected methodGetTargetRotation
Gets the current rotation
Public methodHide
Hides the message
Public methodHide(Single)
Hides the message
Protected methodSetRotation
Sets the current rotation
Public methodShow
Shows the message
Protected methodUpdate
Unity component method
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