Class SteamVR_Skeleton_Poser.PoseBlendingBehaviour
A filter applied to the base pose. Blends to a secondary pose by a certain weight. Can be masked per-finger
Inheritance
System.Object
SteamVR_Skeleton_Poser.PoseBlendingBehaviour
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
[Serializable]
public class PoseBlendingBehaviour
Constructors
PoseBlendingBehaviour()
Declaration
public PoseBlendingBehaviour()
Fields
action_bool
Declaration
public SteamVR_Action_Boolean action_bool
Field Value
Type | Description |
---|---|
SteamVR_Action_Boolean |
action_single
Declaration
public SteamVR_Action_Single action_single
Field Value
Type | Description |
---|---|
SteamVR_Action_Single |
enabled
Declaration
public bool enabled
Field Value
Type | Description |
---|---|
System.Boolean |
influence
Declaration
public float influence
Field Value
Type | Description |
---|---|
System.Single |
mask
Declaration
public SteamVR_Skeleton_HandMask mask
Field Value
Type | Description |
---|---|
SteamVR_Skeleton_HandMask |
name
Declaration
public string name
Field Value
Type | Description |
---|---|
System.String |
pose
Declaration
public int pose
Field Value
Type | Description |
---|---|
System.Int32 |
previewEnabled
Declaration
public bool previewEnabled
Field Value
Type | Description |
---|---|
System.Boolean |
smoothingSpeed
Declaration
public float smoothingSpeed
Field Value
Type | Description |
---|---|
System.Single |
type
Declaration
public SteamVR_Skeleton_Poser.PoseBlendingBehaviour.BlenderTypes type
Field Value
Type | Description |
---|---|
SteamVR_Skeleton_Poser.PoseBlendingBehaviour.BlenderTypes |
useMask
Declaration
public bool useMask
Field Value
Type | Description |
---|---|
System.Boolean |
value
Declaration
public float value
Field Value
Type | Description |
---|---|
System.Single |
Methods
ApplyBlending(SteamVR_Skeleton_PoseSnapshot, SteamVR_Skeleton_Poser.SkeletonBlendablePose[], SteamVR_Input_Sources)
Apply blending to this behaviour's pose to an existing snapshot.
Declaration
public void ApplyBlending(SteamVR_Skeleton_PoseSnapshot snapshot, SteamVR_Skeleton_Poser.SkeletonBlendablePose[] blendPoses, SteamVR_Input_Sources inputSource)
Parameters
Type | Name | Description |
---|---|---|
SteamVR_Skeleton_PoseSnapshot | snapshot | Snapshot to modify |
SteamVR_Skeleton_Poser.SkeletonBlendablePose[] | blendPoses | List of blend poses to get the target pose |
SteamVR_Input_Sources | inputSource | Which hand to receive input from |
Update(Single, SteamVR_Input_Sources)
Performs smoothing based on deltaTime parameter.
Declaration
public void Update(float deltaTime, SteamVR_Input_Sources inputSource)
Parameters
Type | Name | Description |
---|---|---|
System.Single | deltaTime | |
SteamVR_Input_Sources | inputSource |