Class SteamVR_Skeleton_PoseSnapshot
PoseSnapshots hold a skeleton pose for one hand, as well as storing which hand they contain. They have several functions for combining BlendablePoses.
Inheritance
System.Object
SteamVR_Skeleton_PoseSnapshot
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Valve.VR
Assembly: Assembly-CSharp.dll
Syntax
public class SteamVR_Skeleton_PoseSnapshot
Constructors
SteamVR_Skeleton_PoseSnapshot(Int32, SteamVR_Input_Sources)
Declaration
public SteamVR_Skeleton_PoseSnapshot(int boneCount, SteamVR_Input_Sources source)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | boneCount | |
SteamVR_Input_Sources | source |
Fields
bonePositions
Declaration
public Vector3[] bonePositions
Field Value
Type | Description |
---|---|
UnityEngine.Vector3[] |
boneRotations
Declaration
public Quaternion[] boneRotations
Field Value
Type | Description |
---|---|
UnityEngine.Quaternion[] |
inputSource
Declaration
public SteamVR_Input_Sources inputSource
Field Value
Type | Description |
---|---|
SteamVR_Input_Sources |
position
Declaration
public Vector3 position
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |
rotation
Declaration
public Quaternion rotation
Field Value
Type | Description |
---|---|
UnityEngine.Quaternion |
Methods
CopyFrom(SteamVR_Skeleton_PoseSnapshot)
Perform a deep copy from one poseSnapshot to another.
Declaration
public void CopyFrom(SteamVR_Skeleton_PoseSnapshot source)
Parameters
Type | Name | Description |
---|---|---|
SteamVR_Skeleton_PoseSnapshot | source |