Class MixedRealityControllerVisualizer
The Mixed Reality Visualization component is primarily responsible for synchronizing the user's current input with controller models.
Inheritance
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealityControllerVisualizer : ControllerPoseSynchronizer, IMixedRealityControllerPoseSynchronizer, IMixedRealitySourcePoseHandler, IMixedRealitySourceStateHandler, IMixedRealityInputHandler, IMixedRealityBaseInputHandler, IMixedRealityInputHandler<float>, IMixedRealityInputHandler<Vector2>, IMixedRealityInputHandler<Vector3>, IMixedRealityInputHandler<Quaternion>, IMixedRealityInputHandler<MixedRealityPose>, IEventSystemHandler, IMixedRealityControllerVisualizer
Properties
GameObjectProxy
The GameObject reference for this controller.
Declaration
public GameObject GameObjectProxy { get; }
Property Value
Type | Description |
---|---|
GameObject |
Remarks
This reference may not always be available when called.
Methods
OnInputChanged(InputEventData<Single>)
Visualize single axis controls on the controller model, if supported
Declaration
public override void OnInputChanged(InputEventData<float> eventData)
Parameters
Type | Name | Description |
---|---|---|
InputEventData<Single> | eventData |
Overrides
Remarks
Reserved for future implementation
OnInputChanged(InputEventData<Vector2>)
Visualize the movement of a dual axis input on the controller model, if supported
Declaration
public override void OnInputChanged(InputEventData<Vector2> eventData)
Parameters
Type | Name | Description |
---|---|---|
InputEventData<Vector2> | eventData |
Overrides
Remarks
Reserved for future implementation
OnInputDown(InputEventData)
Visualize digital and single axis controls down state on the controller model, if supported
Declaration
public override void OnInputDown(InputEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
InputEventData | eventData |
Overrides
Remarks
Reserved for future implementation
OnInputUp(InputEventData)
Visualize digital and single axis controls up state on the controller model, if supported
Declaration
public override void OnInputUp(InputEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
InputEventData | eventData |
Overrides
Remarks
Reserved for future implementation