Show / Hide Table of Contents

    Class SteamVR_Skeleton_Poser.SkeletonBlendablePose

    A SkeletonBlendablePose holds a reference to a Skeleton_Pose scriptableObject, and also contains some helper functions. Also handles pose-specific animation like additive finger motion.

    Inheritance
    System.Object
    SteamVR_Skeleton_Poser.SkeletonBlendablePose
    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 SkeletonBlendablePose

    Constructors

    SkeletonBlendablePose()

    Declaration
    public SkeletonBlendablePose()

    SkeletonBlendablePose(SteamVR_Skeleton_Pose)

    Init based on an existing Skeleton_Pose

    Declaration
    public SkeletonBlendablePose(SteamVR_Skeleton_Pose p)
    Parameters
    Type Name Description
    SteamVR_Skeleton_Pose p

    Fields

    pose

    Declaration
    public SteamVR_Skeleton_Pose pose
    Field Value
    Type Description
    SteamVR_Skeleton_Pose

    snapshotL

    Declaration
    public SteamVR_Skeleton_PoseSnapshot snapshotL
    Field Value
    Type Description
    SteamVR_Skeleton_PoseSnapshot

    snapshotR

    Declaration
    public SteamVR_Skeleton_PoseSnapshot snapshotR
    Field Value
    Type Description
    SteamVR_Skeleton_PoseSnapshot

    Methods

    GetHandSnapshot(SteamVR_Input_Sources)

    Get the snapshot of this pose with effects such as additive finger animation applied.

    Declaration
    public SteamVR_Skeleton_PoseSnapshot GetHandSnapshot(SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Input_Sources inputSource
    Returns
    Type Description
    SteamVR_Skeleton_PoseSnapshot

    PoseToSnapshots()

    Copy the base pose into the snapshots.

    Declaration
    public void PoseToSnapshots()

    UpdateAdditiveAnimation(SteamVR_Action_Skeleton, SteamVR_Input_Sources)

    Declaration
    public void UpdateAdditiveAnimation(SteamVR_Action_Skeleton skeletonAction, SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Action_Skeleton skeletonAction
    SteamVR_Input_Sources inputSource
    In This Article
    • Constructors
      • SkeletonBlendablePose()
      • SkeletonBlendablePose(SteamVR_Skeleton_Pose)
    • Fields
      • pose
      • snapshotL
      • snapshotR
    • Methods
      • GetHandSnapshot(SteamVR_Input_Sources)
      • PoseToSnapshots()
      • UpdateAdditiveAnimation(SteamVR_Action_Skeleton, SteamVR_Input_Sources)
    Back to top Copyright (c) Valve Corporation, All rights reserved.