Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
ControllerManager Class Members
Properties  Methods 

The following tables list the members exposed by ControllerManager.

Public Constructors
 NameDescription
Public ConstructorControllerManager Constructor  
Top
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)applyCollider

Indicates whether a Collider should be applied to and enabled on simulated controllers.

Please Note Please Note
Because Collider components are automatically applied to primitives, if they do not apply to a particular controller (or if applyCollider is false) they will be disabled where appropriate.
 
Public Propertystatic (Shared in Visual Basic)applyColliderHand

If applyCollider is true, then indicates which simulated controller(s) should receive an enabled Collider.

Please Note Please Note
Because Collider components are automatically applied to primitives, if they do not apply to a particular controller (or if applyCollider is false) they will be disabled where appropriate.
 
Public Propertystatic (Shared in Visual Basic)applyRigidbodyIndicates whether a Rigidbody should be applied to the simulated controller(s).  
Public Propertystatic (Shared in Visual Basic)applyRigidbodyHandIf applyRigidbody is true, then indicates which simulated controller(s) should receive a Rigidbody.  
Public Propertystatic (Shared in Visual Basic)areControllersSimulatedIndicates whether both left-hand and right-hand controllers have been simulated.  
Public Propertystatic (Shared in Visual Basic)colliderCenterReturns the center of the Collider applied to the simulated controller(s).  
Public Propertystatic (Shared in Visual Basic)colliderDirection

Returns the direction of the Collider applied to the simulated controller(s).

Please Note Please Note
Only applies if applyCollider is true and HMDSimulator.controllerPrimitive is Capsule or Cylinder.
 
Public Propertystatic (Shared in Visual Basic)colliderHeight

Returns the height of the Collider applied to the simulated controller(s).

Please Note Please Note

Only applies if:

 
Public Propertystatic (Shared in Visual Basic)colliderPhysicMaterial

Indicates the Physic Material applied to the Collider component(s) applied to the simulated controller(s).

Please Note Please Note

Only applies if applyCollider is true.

 
Public Propertystatic (Shared in Visual Basic)colliderRadius

Returns the radius of the simulated controller(s)' Collider.

Please Note Please Note

Only applies if:

 
Public Propertystatic (Shared in Visual Basic)colliderSizeReturns the scale of the Collider applied to the simulated controller(s).  
Public Propertystatic (Shared in Visual Basic)InstanceThe Singleton Instance of the ControllerManager class.  
Public Propertystatic (Shared in Visual Basic)isKinematic

Indicates whether the simulated controller(s)' Rigidbody component(s) should be kinematic.

Please Note Please Note
Only applies if applyRigidbody is true.
 
Public Propertystatic (Shared in Visual Basic)isTrigger

Indicates whether the Collider applied to simulated controller(s) should be flagged as a trigger.

Please Note Please Note
Only applies if applyCollider is true.
 
Public Propertystatic (Shared in Visual Basic)movementSpeed Returns the speed at which simulated controllers naturally move.  
Public Propertystatic (Shared in Visual Basic)primaryHand Returns the primary/dominant hand.  
Public Propertystatic (Shared in Visual Basic)rbAngularDragReturns the Angular Drag Factor applied to the Rigidbody component(s) applied to the simulated controller(s).  
Public Propertystatic (Shared in Visual Basic)rbDragReturns the Drag Factor applied to the simulated controller(s)' UnityEngine.Rigidbody component(s).  
Public Propertystatic (Shared in Visual Basic)rbMassReturns the mass of the Rigidbody applied to the indicated controller(s).  
Public Propertystatic (Shared in Visual Basic)rbUseGravityReturns the value of Use Gravity applied to the Rigidbody component(s) attached to the simulated controller(s).  
Public Propertystatic (Shared in Visual Basic)seatedAdjustment The height by which simulated controllers are adjusted, expressed as m (or unity units).  
Public Propertystatic (Shared in Visual Basic)startingPosition Gets the position in which simulated controllers should start.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)moveControllerOverloaded. Moves the controller to the targetPosition and adjusts its rotation to targetRotation.  
Top
See Also

Reference

ControllerManager Class
Immerseum.VRSimulator Namespace

 

 


Copyright (c) 2015 Immerseum Inc. All rights reserved.

Send Feedback