Inherits Passer.Tracking.ControllerComponent.
|
override void | UpdateComponent () |
| Update the component manually.
|
|
void | Vibrate (float length, float strength) |
|
virtual void | StartComponent (Transform trackerTransform, bool isLeft) |
|
virtual void | StartComponent (Transform trackerTransform) |
| Start the manual updating of the sensor.
|
|
virtual void | Show (bool showModel) |
| Show or hide the rendered model of the sensor.
|
|
|
TrackerComponent | tracker |
|
bool | positionalTracking = true |
|
bool | isLeft |
|
Vector3 | primaryAxis |
|
Vector3 | secondaryAxis |
|
float | trigger1 |
|
float | trigger2 |
|
float | button1 |
|
float | button2 |
|
float | button3 |
|
float | button4 |
|
float | option |
|
float | battery |
|
Tracker.Status | status |
| The tracking status of the sensor.
|
|
float | rotationConfidence |
| The confidence (0..1) of the tracked rotation.
|
|
float | positionConfidence |
| The confidence (0..1) of the tracked position.
|
|
bool | autoUpdate = true |
| Is used to set whether the sensor updates itself.
|
|
GameObject | model |
|
|
virtual void | ShowModel (string resourceName) |
| Try to add a rendered model to the sensor.
|
|
virtual void | CreateModel (string resourceName) |
| Add a rendered model to the sensor.
|
|
virtual void | Awake () |
| Initializes the sensor.
|
|
virtual void | Start () |
| Starts the sensor.
|
|
|
Transform | trackerTransform |
| The transform which is used as the root of the tracking space.
|
|
bool | _show |
|
|
override bool | show [get, set] |
|
bool | renderController [set] |
| Enable or disable the renderers for this sensor.
|
|
◆ UpdateComponent()
override void Passer.Tracking.OculusController.UpdateComponent |
( |
| ) |
|
|
virtual |
◆ StartComponent()
virtual void Passer.Tracking.SensorComponent.StartComponent |
( |
Transform |
trackerTransform | ) |
|
|
virtualinherited |
Start the manual updating of the sensor.
- Parameters
-
When this function has been called, autoUpdate will be disabled and the sensor will no longer update from Unity Updates. Instead, UpdateComponent needs to be called to update the sensor data
◆ ShowModel()
virtual void Passer.Tracking.SensorComponent.ShowModel |
( |
string |
resourceName | ) |
|
|
protectedvirtualinherited |
Try to add a rendered model to the sensor.
- Parameters
-
resourceName | The name of the resource to use for the model |
No new model is added when it already has a model
◆ CreateModel()
virtual void Passer.Tracking.SensorComponent.CreateModel |
( |
string |
resourceName | ) |
|
|
protectedvirtualinherited |
Add a rendered model to the sensor.
- Parameters
-
resourceName | The name of the resource to use for the model |
Any existing model will be destroyed and replaced.
◆ Show()
virtual void Passer.Tracking.SensorComponent.Show |
( |
bool |
showModel | ) |
|
|
virtualinherited |
Show or hide the rendered model of the sensor.
- Parameters
-
showModel | True will show the mode, False will hide it |
◆ Awake()
virtual void Passer.Tracking.SensorComponent.Awake |
( |
| ) |
|
|
protectedvirtualinherited |
◆ Start()
virtual void Passer.Tracking.SensorComponent.Start |
( |
| ) |
|
|
protectedvirtualinherited |
◆ autoUpdate
bool Passer.Tracking.SensorComponent.autoUpdate = true |
|
inherited |
Is used to set whether the sensor updates itself.
When enabled, the sensor will update itself. When disabled, StartComponent and UpdateComponent need to be called to update the tracking status.
The documentation for this class was generated from the following file:
- d:/Unity/Humanoid4/Humanoid4_Pro/Assets/humanoidcontrol4_pro/Runtime/HumanoidControl/Scripts/Extensions/Oculus/OculusController.cs