Public Member Functions |
Protected Member Functions |
Protected Attributes |
Properties |
List of all members
OculusSampleFramework.TrainCar Class Reference
Inheritance diagram for OculusSampleFramework.TrainCar:

Public Member Functions | |
override void | UpdatePosition () |
![]() | |
void | UpdatePose (float distance, TrainCarBase train, Pose pose) |
Protected Member Functions | |
override void | Awake () |
![]() | |
void | UpdateCarPosition () |
void | RotateCarWheels () |
Protected Attributes | |
float | _distanceBehindParent = 0.1f |
![]() | |
Transform | _frontWheels = null |
Transform | _rearWheels = null |
TrainTrack | _trainTrack = null |
Transform [] | _individualWheels = null |
float | scale = 1.0f |
Properties | |
float | DistanceBehindParentScaled [get] |
![]() | |
float | Distance [get, protected set] |
float | Scale [get, set] |
Member Function Documentation
◆ Awake()
|
protectedvirtual |
Reimplemented from OculusSampleFramework.TrainCarBase.
◆ UpdatePosition()
|
virtual |
Implements OculusSampleFramework.TrainCarBase.
Member Data Documentation
◆ _distanceBehindParent
|
protected |
Property Documentation
◆ DistanceBehindParentScaled
|
get |
The documentation for this class was generated from the following file:
- Oculus/SampleFramework/Usage/HandsTrainExample/Scripts/TrainCar.cs