Click or drag to resize

ControllerLocal Class

Represents the local controller
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKLoggingBehaviour
            ImmerseSDK.ControllersController
              ImmerseSDK.ControllersControllerLocal

Namespace:  ImmerseSDK.Controllers
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public class ControllerLocal : Controller

The ControllerLocal type exposes the following members.

Constructors
  NameDescription
Public methodControllerLocal
Initializes a new instance of the ControllerLocal class
Top
Properties
  NameDescription
Public propertyAvatar
Current avatar reference
Public propertyControllerSettings
Reference to the ControllerSettings config file
Public propertyHandGuiType
Type of HandGui this is
Public propertyHandMenuSettings
Optional handui settings configuration. If this is null, the default settings will apply.
Public propertyInput
This controller's Input class
Public propertyOverrideState
Current override state for this controller
Public propertyVelocityCalculator
The velocity calculator used for this controller
Top
Methods
  NameDescription
Protected methodAwake
Unity component method
(Overrides ControllerAwake.)
Protected methodOnDisable
Unity component method
(Overrides ControllerOnDisable.)
Protected methodOnDrawGizmos
Unity component method
(Overrides ControllerOnDrawGizmos.)
Protected methodOnEnable
Unity component method
(Overrides ControllerOnEnable.)
Public methodReleaseEngagedObject
Release the engaged object
Protected methodSetAvatar
Assigns an avatar to this controller
(Overrides ControllerSetAvatar(Avatar).)
Public methodSetEngagingObject
Set the engaging object
(Overrides ControllerSetEngagingObject(IEngageableObject).)
Protected methodSetupRealControllerModels
Initialises the hardware specific controller models
(Overrides ControllerSetupRealControllerModels.)
Protected methodShowHandGeometry
Shows or hides hand geometry only. Note that this does not update the internal visibility state, so if anything happens that will cause an update, then that will determine the visibility.
(Overrides ControllerShowHandGeometry(Boolean, Single).)
Public methodUpdate
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