SteamVRPose
A class in Root.Township, the global namespace.
Tracks the pose of one SteamVR tracked device index. SteamVRDeviceLifecycle keeps a list of these and feeds them new poses each frame. Client only.
- Listed in Global namespace: S
Constructors
| Member | What it is |
|---|---|
SteamVRPose(SteamVR_TrackedObject.EIndex index) | Creates a SteamVRPose from index. |
Fields
1 private and internal field
Properties
| Member | What it is |
|---|---|
SteamVR_TrackedObject.EIndex Index { get; private set; } | The SteamVR tracked device index this pose follows. |
bool IsConnected { get; private set; } | Whether the device counts as connected. Nothing in this class ever sets it to true. |
bool IsEnabled { get; set; } | When false, SteamVRDeviceLifecycle skips this pose in its pose update. |
bool IsReserved { get; set; } | Flag the device lifecycle uses to mark a pose as taken. |
Vector3 Position { get; private set; } | Last tracked position, in tracking space. |
Quaternion Rotation { get; private set; } | Last tracked rotation, in tracking space. |
Events
| Member | What it is |
|---|---|
event PoseChangedHandler Changed | Raised every time the pose is updated. |
event Action Connected | Raised when the device connects. The method that raises it is private and nothing calls it, so probably never fires. |
event Action Disconnected | Raised by OnDisconnected when a connected device goes away. |
Methods
1 private and internal method
Used in
Members of other types that take, return or hold a SteamVRPose: