OculusSampleFramework.TrainLocomotive Class Reference
Inheritance diagram for OculusSampleFramework.TrainLocomotive:

Public Member Functions | |
override void | UpdatePosition () |
void | StartStopStateChanged () |
void | DecreaseSpeedStateChanged () |
void | IncreaseSpeedStateChanged () |
void | SmokeButtonStateChanged () |
void | WhistleButtonStateChanged () |
void | ReverseButtonStateChanged () |
![]() | |
void | UpdatePose (float distance, TrainCarBase train, Pose pose) |
Protected Attributes | |
float | _initialSpeed = 0f |
![]() | |
Transform | _frontWheels = null |
Transform | _rearWheels = null |
TrainTrack | _trainTrack = null |
Transform [] | _individualWheels = null |
float | scale = 1.0f |
Additional Inherited Members | |
![]() | |
virtual void | Awake () |
void | UpdateCarPosition () |
void | RotateCarWheels () |
![]() | |
float | Distance [get, protected set] |
float | Scale [get, set] |
Member Function Documentation
◆ DecreaseSpeedStateChanged()
void OculusSampleFramework.TrainLocomotive.DecreaseSpeedStateChanged | ( | ) |
◆ IncreaseSpeedStateChanged()
void OculusSampleFramework.TrainLocomotive.IncreaseSpeedStateChanged | ( | ) |
◆ ReverseButtonStateChanged()
void OculusSampleFramework.TrainLocomotive.ReverseButtonStateChanged | ( | ) |
◆ SmokeButtonStateChanged()
void OculusSampleFramework.TrainLocomotive.SmokeButtonStateChanged | ( | ) |
◆ StartStopStateChanged()
void OculusSampleFramework.TrainLocomotive.StartStopStateChanged | ( | ) |
◆ UpdatePosition()
|
virtual |
Implements OculusSampleFramework.TrainCarBase.
◆ WhistleButtonStateChanged()
void OculusSampleFramework.TrainLocomotive.WhistleButtonStateChanged | ( | ) |
Member Data Documentation
◆ _initialSpeed
|
protected |
The documentation for this class was generated from the following file:
- Oculus/SampleFramework/Usage/HandsTrainExample/Scripts/TrainLocomotive.cs