• Articles
  • Tutorials
  • Api Documentation
  • Api Documentation
  • Valve.VR
  • SteamVR_Behaviour_Pose

    Show / Hide Table of Contents
    • Valve.VR
      • AppOverrideKeys_t
      • CameraVideoStreamFrameHeader_t
      • ChaperoneCalibrationState
      • Compositor_CumulativeStats
      • Compositor_FrameTiming
      • Compositor_OverlaySettings
      • COpenVRContext
      • CVRApplications
      • CVRChaperone
      • CVRChaperoneSetup
      • CVRCompositor
      • CVRDriverManager
      • CVRExtendedDisplay
      • CVRInput
      • CVRIOBuffer
      • CVRNotifications
      • CVROverlay
      • CVRRenderModels
      • CVRResources
      • CVRScreenshots
      • CVRSettingHelper
      • CVRSettings
      • CVRSpatialAnchors
      • CVRSystem
      • CVRTrackedCamera
      • D3D12TextureData_t
      • DistortionCoordinates_t
      • DriverDirectMode_FrameTiming
      • EAdditionalRadioFeatures
      • EChaperoneConfigFile
      • EChaperoneImportFlags
      • ECollisionBoundsStyle
      • EColorSpace
      • EDeviceActivityLevel
      • EDualAnalogWhich
      • EGamepadTextInputLineMode
      • EGamepadTextInputMode
      • EHDCPError
      • EHiddenAreaMeshType
      • EIOBufferError
      • EIOBufferMode
      • EOverlayDirection
      • EShowUIType
      • ETextureType
      • ETrackedControllerRole
      • ETrackedDeviceClass
      • ETrackedDeviceProperty
      • ETrackedPropertyError
      • ETrackingResult
      • ETrackingUniverseOrigin
      • EVRApplicationError
      • EVRApplicationProperty
      • EVRApplicationTransitionState
      • EVRApplicationType
      • EVRButtonId
      • EVRComponentProperty
      • EVRCompositorError
      • EVRCompositorTimingMode
      • EVRControllerAxisType
      • EVRControllerEventOutputType
      • EVRDistortionFunctionType
      • EVREventType
      • EVREye
      • EVRFinger
      • EVRFingerSplay
      • EVRFirmwareError
      • EVRInitError
      • EVRInputError
      • EVRInputFilterCancelType
      • EVRInputStringBits
      • EVRMouseButton
      • EVRMuraCorrectionMode
      • EVRNotificationError
      • EVRNotificationStyle
      • EVRNotificationType
      • EVROverlayError
      • EVROverlayIntersectionMaskPrimitiveType
      • EVRRenderModelError
      • EVRScreenshotError
      • EVRScreenshotPropertyFilenames
      • EVRScreenshotType
      • EVRSettingsError
      • EVRSkeletalMotionRange
      • EVRSkeletalReferencePose
      • EVRSkeletalTrackingLevel
      • EVRSkeletalTransformSpace
      • EVRSpatialAnchorError
      • EVRState
      • EVRSubmitFlags
      • EVRTrackedCameraError
      • EVRTrackedCameraFrameLayout
      • EVRTrackedCameraFrameType
      • EVSync
      • HiddenAreaMesh_t
      • HmdColor_t
      • HmdMatrix33_t
      • HmdMatrix34_t
      • HmdMatrix44_t
      • HmdQuad_t
      • HmdQuaternion_t
      • HmdQuaternionf_t
      • HmdRect2_t
      • HmdVector2_t
      • HmdVector3_t
      • HmdVector3d_t
      • HmdVector4_t
      • Imu_OffScaleFlags
      • ImuSample_t
      • InputAnalogActionData_t
      • InputDigitalActionData_t
      • InputOriginInfo_t
      • InputPoseActionData_t
      • InputSkeletalActionData_t
      • IntersectionMaskCircle_t
      • IntersectionMaskRectangle_t
      • ISteamVR_Action
      • ISteamVR_Action_Boolean
      • ISteamVR_Action_In
      • ISteamVR_Action_In_Source
      • ISteamVR_Action_Out
      • ISteamVR_Action_Out_Source
      • ISteamVR_Action_Pose
      • ISteamVR_Action_Single
      • ISteamVR_Action_Skeleton_Source
      • ISteamVR_Action_Source
      • ISteamVR_Action_Vector2
      • ISteamVR_Action_Vector3
      • ISteamVR_Action_Vibration
      • ISteamVR_ActionSet
      • IVRApplications
      • IVRChaperone
      • IVRChaperoneSetup
      • IVRCompositor
      • IVRDriverManager
      • IVRExtendedDisplay
      • IVRInput
      • IVRIOBuffer
      • IVRNotifications
      • IVROverlay
      • IVRRenderModels
      • IVRResources
      • IVRScreenshots
      • IVRSettings
      • IVRSpatialAnchors
      • IVRSystem
      • IVRTrackedCamera
      • NotificationBitmap_t
      • OpenVR
      • OpenVRInterop
      • RenderModel_ComponentState_t
      • RenderModel_ControllerMode_State_t
      • RenderModel_t
      • RenderModel_t_Packed
      • RenderModel_TextureMap_t
      • RenderModel_TextureMap_t_Packed
      • RenderModel_Vertex_t
      • SkeletalMotionRangeChange
      • SpatialAnchorPose_t
      • SteamVR
      • SteamVR.InitializedStates
      • SteamVR_Action
      • SteamVR_Action_Boolean
      • SteamVR_Action_Boolean.ActiveChangeHandler
      • SteamVR_Action_Boolean.ChangeHandler
      • SteamVR_Action_Boolean.StateDownHandler
      • SteamVR_Action_Boolean.StateHandler
      • SteamVR_Action_Boolean.StateUpHandler
      • SteamVR_Action_Boolean.UpdateHandler
      • SteamVR_Action_Boolean_Source
      • SteamVR_Action_Boolean_Source_Map
      • SteamVR_Action_In_Source
      • SteamVR_Action_In_Source_Map<SourceElement>
      • SteamVR_Action_In<SourceMap, SourceElement>
      • SteamVR_Action_Out_Source
      • SteamVR_Action_Out<SourceMap, SourceElement>
      • SteamVR_Action_Pose
      • SteamVR_Action_Pose.ActiveChangeHandler
      • SteamVR_Action_Pose.ChangeHandler
      • SteamVR_Action_Pose.DeviceConnectedChangeHandler
      • SteamVR_Action_Pose.TrackingChangeHandler
      • SteamVR_Action_Pose.UpdateHandler
      • SteamVR_Action_Pose.ValidPoseChangeHandler
      • SteamVR_Action_Pose_Base<SourceMap, SourceElement>
      • SteamVR_Action_Pose_Source
      • SteamVR_Action_Pose_Source_Map<Source>
      • SteamVR_Action_Single
      • SteamVR_Action_Single.ActiveChangeHandler
      • SteamVR_Action_Single.AxisHandler
      • SteamVR_Action_Single.ChangeHandler
      • SteamVR_Action_Single.UpdateHandler
      • SteamVR_Action_Single_Source
      • SteamVR_Action_Single_Source_Map
      • SteamVR_Action_Skeleton
      • SteamVR_Action_Skeleton.ActiveChangeHandler
      • SteamVR_Action_Skeleton.ChangeHandler
      • SteamVR_Action_Skeleton.DeviceConnectedChangeHandler
      • SteamVR_Action_Skeleton.TrackingChangeHandler
      • SteamVR_Action_Skeleton.UpdateHandler
      • SteamVR_Action_Skeleton.ValidPoseChangeHandler
      • SteamVR_Action_Skeleton_Source
      • SteamVR_Action_Skeleton_Source_Map
      • SteamVR_Action_Source
      • SteamVR_Action_Source_Map
      • SteamVR_Action_Source_Map<SourceElement>
      • SteamVR_Action_Vector2
      • SteamVR_Action_Vector2.ActiveChangeHandler
      • SteamVR_Action_Vector2.AxisHandler
      • SteamVR_Action_Vector2.ChangeHandler
      • SteamVR_Action_Vector2.UpdateHandler
      • SteamVR_Action_Vector2_Source
      • SteamVR_Action_Vector2_Source_Map
      • SteamVR_Action_Vector3
      • SteamVR_Action_Vector3.ActiveChangeHandler
      • SteamVR_Action_Vector3.AxisHandler
      • SteamVR_Action_Vector3.ChangeHandler
      • SteamVR_Action_Vector3.UpdateHandler
      • SteamVR_Action_Vector3_Source
      • SteamVR_Action_Vector3_Source_Map
      • SteamVR_Action_Vibration
      • SteamVR_Action_Vibration.ActiveChangeHandler
      • SteamVR_Action_Vibration.ExecuteHandler
      • SteamVR_Action_Vibration_Source
      • SteamVR_Action_Vibration_Source_Map
      • SteamVR_Action<SourceMap, SourceElement>
      • SteamVR_ActionDirections
      • SteamVR_Actions
      • SteamVR_ActionSet
      • SteamVR_ActionSet_Data
      • SteamVR_ActionSet_Manager
      • SteamVR_ActivateActionSetOnLoad
      • SteamVR_Behaviour
      • SteamVR_Behaviour_Boolean
      • SteamVR_Behaviour_Boolean.ActiveChangeHandler
      • SteamVR_Behaviour_Boolean.ChangeHandler
      • SteamVR_Behaviour_Boolean.StateDownHandler
      • SteamVR_Behaviour_Boolean.StateHandler
      • SteamVR_Behaviour_Boolean.StateUpHandler
      • SteamVR_Behaviour_Boolean.UpdateHandler
      • SteamVR_Behaviour_BooleanEvent
      • SteamVR_Behaviour_Pose
      • SteamVR_Behaviour_Pose.ActiveChangeHandler
      • SteamVR_Behaviour_Pose.ChangeHandler
      • SteamVR_Behaviour_Pose.DeviceConnectedChangeHandler
      • SteamVR_Behaviour_Pose.DeviceIndexChangedHandler
      • SteamVR_Behaviour_Pose.TrackingChangeHandler
      • SteamVR_Behaviour_Pose.UpdateHandler
      • SteamVR_Behaviour_Pose.ValidPoseChangeHandler
      • SteamVR_Behaviour_Pose_ConnectedChangedEvent
      • SteamVR_Behaviour_Pose_DeviceIndexChangedEvent
      • SteamVR_Behaviour_Pose_TrackingChangedEvent
      • SteamVR_Behaviour_PoseEvent
      • SteamVR_Behaviour_Single
      • SteamVR_Behaviour_Single.AxisHandler
      • SteamVR_Behaviour_Single.ChangeHandler
      • SteamVR_Behaviour_Single.UpdateHandler
      • SteamVR_Behaviour_SingleEvent
      • SteamVR_Behaviour_Skeleton
      • SteamVR_Behaviour_Skeleton.ActiveChangeHandler
      • SteamVR_Behaviour_Skeleton.ChangeHandler
      • SteamVR_Behaviour_Skeleton.DeviceConnectedChangeHandler
      • SteamVR_Behaviour_Skeleton.MirrorType
      • SteamVR_Behaviour_Skeleton.TrackingChangeHandler
      • SteamVR_Behaviour_Skeleton.UpdateHandler
      • SteamVR_Behaviour_Skeleton.ValidPoseChangeHandler
      • SteamVR_Behaviour_Skeleton_ConnectedChangedEvent
      • SteamVR_Behaviour_Skeleton_TrackingChangedEvent
      • SteamVR_Behaviour_SkeletonCustom
      • SteamVR_Behaviour_SkeletonEvent
      • SteamVR_Behaviour_Vector2
      • SteamVR_Behaviour_Vector2.AxisHandler
      • SteamVR_Behaviour_Vector2.ChangeHandler
      • SteamVR_Behaviour_Vector2.UpdateHandler
      • SteamVR_Behaviour_Vector2Event
      • SteamVR_Behaviour_Vector3
      • SteamVR_Behaviour_Vector3.AxisHandler
      • SteamVR_Behaviour_Vector3.ChangeHandler
      • SteamVR_Behaviour_Vector3.UpdateHandler
      • SteamVR_Behaviour_Vector3Event
      • SteamVR_Camera
      • SteamVR_CameraFlip
      • SteamVR_CameraMask
      • SteamVR_Ears
      • SteamVR_Events
      • SteamVR_Events.Action
      • SteamVR_Events.Action<T>
      • SteamVR_Events.Action<T0, T1, T2>
      • SteamVR_Events.Action<T0, T1>
      • SteamVR_Events.ActionNoArgs
      • SteamVR_Events.Event
      • SteamVR_Events.Event<T>
      • SteamVR_Events.Event<T0, T1, T2>
      • SteamVR_Events.Event<T0, T1>
      • SteamVR_ExternalCamera
      • SteamVR_ExternalCamera.Config
      • SteamVR_Fade
      • SteamVR_Frustum
      • SteamVR_HistoryBuffer
      • SteamVR_HistoryStep
      • SteamVR_IK
      • SteamVR_Input
      • SteamVR_Input.PosesUpdatedHandler
      • SteamVR_Input.SkeletonsUpdatedHandler
      • SteamVR_Input_ActionSet_buggy
      • SteamVR_Input_ActionSet_default
      • SteamVR_Input_ActionSet_mixedreality
      • SteamVR_Input_ActionSet_platformer
      • SteamVR_Input_Source
      • SteamVR_Input_Sources
      • SteamVR_Input_Sources_Comparer
      • SteamVR_LoadLevel
      • SteamVR_Menu
      • SteamVR_Overlay
      • SteamVR_Overlay.IntersectionResults
      • SteamVR_PlayArea
      • SteamVR_PlayArea.Size
      • SteamVR_Render
      • SteamVR_RenderModel
      • SteamVR_RenderModel.RenderModel
      • SteamVR_RenderModel.RenderModelInterfaceHolder
      • SteamVR_RingBuffer<T>
      • SteamVR_Settings
      • SteamVR_Skeleton_FingerExtensionTypeLists
      • SteamVR_Skeleton_FingerExtensionTypes
      • SteamVR_Skeleton_FingerIndexEnum
      • SteamVR_Skeleton_FingerIndexes
      • SteamVR_Skeleton_FingerSplayIndexEnum
      • SteamVR_Skeleton_FingerSplayIndexes
      • SteamVR_Skeleton_HandMask
      • SteamVR_Skeleton_JointIndexEnum
      • SteamVR_Skeleton_JointIndexes
      • SteamVR_Skeleton_Pose
      • SteamVR_Skeleton_Pose_Hand
      • SteamVR_Skeleton_Poser
      • SteamVR_Skeleton_Poser.PoseBlendingBehaviour
      • SteamVR_Skeleton_Poser.PoseBlendingBehaviour.BlenderTypes
      • SteamVR_Skeleton_Poser.SkeletonBlendablePose
      • SteamVR_Skeleton_PoseSnapshot
      • SteamVR_Skybox
      • SteamVR_Skybox.CellSize
      • SteamVR_SphericalProjection
      • SteamVR_TrackedCamera
      • SteamVR_TrackedCamera.VideoStreamTexture
      • SteamVR_TrackedObject
      • SteamVR_TrackedObject.EIndex
      • SteamVR_UpdateModes
      • SteamVR_Utils
      • SteamVR_Utils.RigidTransform
      • SteamVR_Utils.SystemFn
      • Texture_t
      • TrackedDevicePose_t
      • VRActiveActionSet_t
      • VRBoneTransform_t
      • VRControllerAxis_t
      • VRControllerState_t
      • VRControllerState_t_Packed
      • VREvent_ApplicationLaunch_t
      • VREvent_Chaperone_t
      • VREvent_Controller_t
      • VREvent_Data_t
      • VREvent_DualAnalog_t
      • VREvent_EditingCameraSurface_t
      • VREvent_HapticVibration_t
      • VREvent_HDCPError_t
      • VREvent_InputActionManifestLoad_t
      • VREvent_InputBindingLoad_t
      • VREvent_Ipd_t
      • VREvent_Keyboard_t
      • VREvent_MessageOverlay_t
      • VREvent_Mouse_t
      • VREvent_Notification_t
      • VREvent_Overlay_t
      • VREvent_PerformanceTest_t
      • VREvent_Process_t
      • VREvent_ProgressUpdate_t
      • VREvent_Property_t
      • VREvent_Reserved_t
      • VREvent_Screenshot_t
      • VREvent_ScreenshotProgress_t
      • VREvent_Scroll_t
      • VREvent_SeatedZeroPoseReset_t
      • VREvent_ShowDevTools_t
      • VREvent_ShowUI_t
      • VREvent_SpatialAnchor_t
      • VREvent_Status_t
      • VREvent_t
      • VREvent_t_Packed
      • VREvent_TouchPadMove_t
      • VREvent_WebConsole_t
      • VRMessageOverlayResponse
      • VROverlayFlags
      • VROverlayInputMethod
      • VROverlayIntersectionMaskPrimitive_Data_t
      • VROverlayIntersectionMaskPrimitive_t
      • VROverlayIntersectionParams_t
      • VROverlayIntersectionResults_t
      • VROverlayTransformType
      • VRSkeletalSummaryData_t
      • VRTextureBounds_t
      • VRTextureDepthInfo_t
      • VRTextureWithDepth_t
      • VRTextureWithPose_t
      • VRTextureWithPoseAndDepth_t
      • VRVulkanTextureData_t
    • Valve.VR.InteractionSystem
      • AfterTimer_Component
      • AllowTeleportWhileAttachedToHand
      • ArcheryTarget
      • Arrow
      • ArrowHand
      • ArrowheadRotation
      • Balloon
      • Balloon.BalloonColor
      • BalloonColliders
      • BalloonHapticBump
      • BalloonSpawner
      • BodyCollider
      • ChaperoneInfo
      • CircularDrive
      • CircularDrive.Axis_t
      • ComplexThrowable
      • ComplexThrowable.AttachMode
      • ControllerButtonHints
      • ControllerHoverHighlight
      • CustomEvents
      • CustomEvents.UnityEventHand
      • CustomEvents.UnityEventSingleFloat
      • DebugUI
      • DestroyOnDetachedFromHand
      • DestroyOnParticleSystemDeath
      • DestroyOnTriggerEnter
      • DistanceHaptics
      • DontDestroyOnLoad
      • EnumFlags
      • EnumFlagsPropertyDrawer
      • Equippable
      • ExplosionWobble
      • FallbackCameraController
      • FireSource
      • GrabTypes
      • Hand
      • Hand.AttachedObject
      • Hand.AttachmentFlags
      • HandEditor
      • HandEvent
      • HapticRack
      • HideOnHandFocusLost
      • HoverButton
      • IgnoreHovering
      • IgnoreTeleportTrace
      • InputModule
      • Interactable
      • Interactable.OnAttachedToHandDelegate
      • Interactable.OnDetachedFromHandDelegate
      • InteractableDebug
      • InteractableHoverEvents
      • ItemPackage
      • ItemPackage.ItemPackageType
      • ItemPackageReference
      • ItemPackageSpawner
      • LinearAnimation
      • LinearAnimator
      • LinearAudioPitch
      • LinearBlendshape
      • LinearDisplacement
      • LinearDrive
      • LinearMapping
      • Longbow
      • Longbow.Handedness
      • ModalThrowable
      • Player
      • PlaySound
      • ReleaseStyle
      • RenderModel
      • SeeThru
      • SleepOnAwake
      • SoundBowClick
      • SoundDeparent
      • SoundPlayOneshot
      • SpawnAndAttachAfterControllerIsTracking
      • SpawnAndAttachToHand
      • Teleport
      • TeleportArc
      • TeleportArea
      • TeleportAreaEditor
      • TeleportMarkerBase
      • TeleportPoint
      • TeleportPoint.TeleportPointType
      • TeleportPointEditor
      • Throwable
      • UIElement
      • UIElementEditor
      • Unparent
      • Util
      • VelocityEstimator
      • WhichHand

    Class SteamVR_Behaviour_Pose

    This component simplifies the use of Pose actions. Adding it to a gameobject will auto set that transform's position and rotation every update to match the pose. Advanced velocity estimation is handled through a buffer of the last 30 updates.

    Inheritance
    System.Object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    SteamVR_Behaviour_Pose
    Inherited Members
    UnityEngine.MonoBehaviour.Invoke(System.String, System.Single)
    UnityEngine.MonoBehaviour.InvokeRepeating(System.String, System.Single, System.Single)
    UnityEngine.MonoBehaviour.CancelInvoke()
    UnityEngine.MonoBehaviour.CancelInvoke(System.String)
    UnityEngine.MonoBehaviour.IsInvoking(System.String)
    UnityEngine.MonoBehaviour.IsInvoking()
    UnityEngine.MonoBehaviour.StartCoroutine(System.Collections.IEnumerator)
    UnityEngine.MonoBehaviour.StartCoroutine_Auto(System.Collections.IEnumerator)
    UnityEngine.MonoBehaviour.StartCoroutine(System.String, System.Object)
    UnityEngine.MonoBehaviour.StartCoroutine(System.String)
    UnityEngine.MonoBehaviour.StopCoroutine(System.String)
    UnityEngine.MonoBehaviour.StopCoroutine(System.Collections.IEnumerator)
    UnityEngine.MonoBehaviour.StopCoroutine(UnityEngine.Coroutine)
    UnityEngine.MonoBehaviour.StopAllCoroutines()
    UnityEngine.MonoBehaviour.print(System.Object)
    UnityEngine.MonoBehaviour.useGUILayout
    UnityEngine.Behaviour.enabled
    UnityEngine.Behaviour.isActiveAndEnabled
    UnityEngine.Component.GetComponent(System.Type)
    UnityEngine.Component.GetComponent<T>()
    UnityEngine.Component.GetComponent(System.String)
    UnityEngine.Component.GetComponentInChildren(System.Type, System.Boolean)
    UnityEngine.Component.GetComponentInChildren(System.Type)
    UnityEngine.Component.GetComponentInChildren<T>()
    UnityEngine.Component.GetComponentInChildren<T>(System.Boolean)
    UnityEngine.Component.GetComponentsInChildren(System.Type)
    UnityEngine.Component.GetComponentsInChildren(System.Type, System.Boolean)
    UnityEngine.Component.GetComponentsInChildren<T>(System.Boolean)
    UnityEngine.Component.GetComponentsInChildren<T>(System.Boolean, System.Collections.Generic.List<T>)
    UnityEngine.Component.GetComponentsInChildren<T>()
    UnityEngine.Component.GetComponentsInChildren<T>(System.Collections.Generic.List<T>)
    UnityEngine.Component.GetComponentInParent(System.Type)
    UnityEngine.Component.GetComponentInParent<T>()
    UnityEngine.Component.GetComponentsInParent(System.Type)
    UnityEngine.Component.GetComponentsInParent(System.Type, System.Boolean)
    UnityEngine.Component.GetComponentsInParent<T>(System.Boolean)
    UnityEngine.Component.GetComponentsInParent<T>(System.Boolean, System.Collections.Generic.List<T>)
    UnityEngine.Component.GetComponentsInParent<T>()
    UnityEngine.Component.GetComponents(System.Type)
    UnityEngine.Component.GetComponents(System.Type, System.Collections.Generic.List<UnityEngine.Component>)
    UnityEngine.Component.GetComponents<T>(System.Collections.Generic.List<T>)
    UnityEngine.Component.GetComponents<T>()
    UnityEngine.Component.CompareTag(System.String)
    UnityEngine.Component.SendMessageUpwards(System.String, System.Object, UnityEngine.SendMessageOptions)
    UnityEngine.Component.SendMessageUpwards(System.String, System.Object)
    UnityEngine.Component.SendMessageUpwards(System.String)
    UnityEngine.Component.SendMessageUpwards(System.String, UnityEngine.SendMessageOptions)
    UnityEngine.Component.SendMessage(System.String, System.Object, UnityEngine.SendMessageOptions)
    UnityEngine.Component.SendMessage(System.String, System.Object)
    UnityEngine.Component.SendMessage(System.String)
    UnityEngine.Component.SendMessage(System.String, UnityEngine.SendMessageOptions)
    UnityEngine.Component.BroadcastMessage(System.String, System.Object, UnityEngine.SendMessageOptions)
    UnityEngine.Component.BroadcastMessage(System.String, System.Object)
    UnityEngine.Component.BroadcastMessage(System.String)
    UnityEngine.Component.BroadcastMessage(System.String, UnityEngine.SendMessageOptions)
    UnityEngine.Component.transform
    UnityEngine.Component.gameObject
    UnityEngine.Component.tag
    UnityEngine.Component.rigidbody
    UnityEngine.Component.rigidbody2D
    UnityEngine.Component.camera
    UnityEngine.Component.light
    UnityEngine.Component.animation
    UnityEngine.Component.constantForce
    UnityEngine.Component.renderer
    UnityEngine.Component.audio
    UnityEngine.Component.guiText
    UnityEngine.Component.networkView
    UnityEngine.Component.guiElement
    UnityEngine.Component.guiTexture
    UnityEngine.Component.collider
    UnityEngine.Component.collider2D
    UnityEngine.Component.hingeJoint
    UnityEngine.Component.particleEmitter
    UnityEngine.Component.particleSystem
    UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
    UnityEngine.Object.Destroy(UnityEngine.Object)
    UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
    UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
    UnityEngine.Object.FindObjectsOfType(System.Type)
    UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
    UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
    UnityEngine.Object.DestroyObject(UnityEngine.Object)
    UnityEngine.Object.FindSceneObjectsOfType(System.Type)
    UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
    UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
    UnityEngine.Object.ToString()
    UnityEngine.Object.GetInstanceID()
    UnityEngine.Object.GetHashCode()
    UnityEngine.Object.Equals(System.Object)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
    UnityEngine.Object.Instantiate(UnityEngine.Object)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
    UnityEngine.Object.Instantiate<T>(T)
    UnityEngine.Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectOfType(System.Type)
    UnityEngine.Object.FindObjectOfType<T>()
    UnityEngine.Object.name
    UnityEngine.Object.hideFlags
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Valve.VR
    Assembly: Assembly-CSharp.dll
    Syntax
    public class SteamVR_Behaviour_Pose : MonoBehaviour

    Fields

    broadcastDeviceChanges

    Declaration
    [Tooltip("Can be disabled to stop broadcasting bound device status changes")]
    public bool broadcastDeviceChanges
    Field Value
    Type Description
    System.Boolean

    deviceIndex

    Declaration
    protected int deviceIndex
    Field Value
    Type Description
    System.Int32

    historyBuffer

    Declaration
    protected SteamVR_HistoryBuffer historyBuffer
    Field Value
    Type Description
    SteamVR_HistoryBuffer

    inputSource

    Declaration
    [Tooltip("The device this action should apply to. Any if the action is not device specific.")]
    public SteamVR_Input_Sources inputSource
    Field Value
    Type Description
    SteamVR_Input_Sources

    lastFrameUpdated

    Declaration
    protected int lastFrameUpdated
    Field Value
    Type Description
    System.Int32

    onConnectedChanged

    This Unity event will fire whenever the device is connected or disconnected

    Declaration
    public SteamVR_Behaviour_Pose_ConnectedChangedEvent onConnectedChanged
    Field Value
    Type Description
    SteamVR_Behaviour_Pose_ConnectedChangedEvent

    onConnectedChangedEvent

    This C# event will fire whenever the device is connected or disconnected

    Declaration
    public SteamVR_Behaviour_Pose.DeviceConnectedChangeHandler onConnectedChangedEvent
    Field Value
    Type Description
    SteamVR_Behaviour_Pose.DeviceConnectedChangeHandler

    onDeviceIndexChanged

    This Unity event will fire whenever the device's deviceIndex changes

    Declaration
    public SteamVR_Behaviour_Pose_DeviceIndexChangedEvent onDeviceIndexChanged
    Field Value
    Type Description
    SteamVR_Behaviour_Pose_DeviceIndexChangedEvent

    onDeviceIndexChangedEvent

    This C# event will fire whenever the device's deviceIndex changes

    Declaration
    public SteamVR_Behaviour_Pose.DeviceIndexChangedHandler onDeviceIndexChangedEvent
    Field Value
    Type Description
    SteamVR_Behaviour_Pose.DeviceIndexChangedHandler

    onTrackingChanged

    This Unity event will fire whenever the device's tracking state changes

    Declaration
    public SteamVR_Behaviour_Pose_TrackingChangedEvent onTrackingChanged
    Field Value
    Type Description
    SteamVR_Behaviour_Pose_TrackingChangedEvent

    onTrackingChangedEvent

    This C# event will fire whenever the device's tracking state changes

    Declaration
    public SteamVR_Behaviour_Pose.TrackingChangeHandler onTrackingChangedEvent
    Field Value
    Type Description
    SteamVR_Behaviour_Pose.TrackingChangeHandler

    onTransformChanged

    This Unity event will fire whenever the position or rotation of this transform is changed.

    Declaration
    public SteamVR_Behaviour_PoseEvent onTransformChanged
    Field Value
    Type Description
    SteamVR_Behaviour_PoseEvent

    onTransformChangedEvent

    This C# event will fire whenever the position or rotation of this transform is changed.

    Declaration
    public SteamVR_Behaviour_Pose.ChangeHandler onTransformChangedEvent
    Field Value
    Type Description
    SteamVR_Behaviour_Pose.ChangeHandler

    onTransformUpdated

    This Unity event will fire whenever the position or rotation of this transform is updated.

    Declaration
    public SteamVR_Behaviour_PoseEvent onTransformUpdated
    Field Value
    Type Description
    SteamVR_Behaviour_PoseEvent

    onTransformUpdatedEvent

    This C# event will fire whenever the position or rotation of this transform is updated.

    Declaration
    public SteamVR_Behaviour_Pose.UpdateHandler onTransformUpdatedEvent
    Field Value
    Type Description
    SteamVR_Behaviour_Pose.UpdateHandler

    origin

    Declaration
    [Tooltip("If not set, relative to parent")]
    public Transform origin
    Field Value
    Type Description
    UnityEngine.Transform

    poseAction

    Declaration
    public SteamVR_Action_Pose poseAction
    Field Value
    Type Description
    SteamVR_Action_Pose

    Properties

    isActive

    Returns whether or not the pose action is bound and able to be updated

    Declaration
    public bool isActive { get; }
    Property Value
    Type Description
    System.Boolean

    isValid

    Returns whether or not the current pose is in a valid state

    Declaration
    public bool isValid { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    CheckDeviceIndex()

    Declaration
    protected virtual void CheckDeviceIndex()

    GetAngularVelocity()

    Returns the current angular velocity of the pose (as of the last update)

    Declaration
    public Vector3 GetAngularVelocity()
    Returns
    Type Description
    UnityEngine.Vector3

    GetDeviceIndex()

    Returns the device index for the device bound to the pose.

    Declaration
    public int GetDeviceIndex()
    Returns
    Type Description
    System.Int32

    GetEstimatedPeakVelocities(out Vector3, out Vector3)

    Uses previously recorded values to find the peak speed of the pose and returns the corresponding velocity and angular velocity

    Declaration
    public void GetEstimatedPeakVelocities(out Vector3 velocity, out Vector3 angularVelocity)
    Parameters
    Type Name Description
    UnityEngine.Vector3 velocity
    UnityEngine.Vector3 angularVelocity

    GetLocalizedName(EVRInputStringBits[])

    Gets the localized name of the device that the action corresponds to.

    Declaration
    public string GetLocalizedName(params EVRInputStringBits[] localizedParts)
    Parameters
    Type Name Description
    EVRInputStringBits[] localizedParts
    • VRInputString_Hand - Which hand the origin is in. E.g. "Left Hand"
    • VRInputString_ControllerType - What kind of controller the user has in that hand.E.g. "Vive Controller"
    • VRInputString_InputSource - What part of that controller is the origin. E.g. "Trackpad"
    • VRInputString_All - All of the above. E.g. "Left Hand Vive Controller Trackpad"
    Returns
    Type Description
    System.String

    GetVelocitiesAtTimeOffset(Single, out Vector3, out Vector3)

    Returns the velocities of the pose at the time specified. Can predict in the future or return past values.

    Declaration
    public bool GetVelocitiesAtTimeOffset(float secondsFromNow, out Vector3 velocity, out Vector3 angularVelocity)
    Parameters
    Type Name Description
    System.Single secondsFromNow
    UnityEngine.Vector3 velocity
    UnityEngine.Vector3 angularVelocity
    Returns
    Type Description
    System.Boolean

    GetVelocity()

    Returns the current velocity of the pose (as of the last update)

    Declaration
    public Vector3 GetVelocity()
    Returns
    Type Description
    UnityEngine.Vector3

    OnDeviceConnectedChanged(SteamVR_Action_Pose, SteamVR_Input_Sources, Boolean)

    Declaration
    protected virtual void OnDeviceConnectedChanged(SteamVR_Action_Pose changedAction, SteamVR_Input_Sources changedSource, bool connected)
    Parameters
    Type Name Description
    SteamVR_Action_Pose changedAction
    SteamVR_Input_Sources changedSource
    System.Boolean connected

    OnDisable()

    Declaration
    protected virtual void OnDisable()

    OnEnable()

    Declaration
    protected virtual void OnEnable()

    OnTrackingChanged(SteamVR_Action_Pose, SteamVR_Input_Sources, ETrackingResult)

    Declaration
    protected virtual void OnTrackingChanged(SteamVR_Action_Pose changedAction, SteamVR_Input_Sources changedSource, ETrackingResult trackingChanged)
    Parameters
    Type Name Description
    SteamVR_Action_Pose changedAction
    SteamVR_Input_Sources changedSource
    ETrackingResult trackingChanged

    Start()

    Declaration
    protected virtual void Start()

    UpdateHistoryBuffer()

    Declaration
    protected void UpdateHistoryBuffer()

    UpdateTransform()

    Declaration
    protected virtual void UpdateTransform()
    In This Article
    • Fields
      • broadcastDeviceChanges
      • deviceIndex
      • historyBuffer
      • inputSource
      • lastFrameUpdated
      • onConnectedChanged
      • onConnectedChangedEvent
      • onDeviceIndexChanged
      • onDeviceIndexChangedEvent
      • onTrackingChanged
      • onTrackingChangedEvent
      • onTransformChanged
      • onTransformChangedEvent
      • onTransformUpdated
      • onTransformUpdatedEvent
      • origin
      • poseAction
    • Properties
      • isActive
      • isValid
    • Methods
      • CheckDeviceIndex()
      • GetAngularVelocity()
      • GetDeviceIndex()
      • GetEstimatedPeakVelocities(out Vector3, out Vector3)
      • GetLocalizedName(EVRInputStringBits[])
      • GetVelocitiesAtTimeOffset(Single, out Vector3, out Vector3)
      • GetVelocity()
      • OnDeviceConnectedChanged(SteamVR_Action_Pose, SteamVR_Input_Sources, Boolean)
      • OnDisable()
      • OnEnable()
      • OnTrackingChanged(SteamVR_Action_Pose, SteamVR_Input_Sources, ETrackingResult)
      • Start()
      • UpdateHistoryBuffer()
      • UpdateTransform()
    Back to top Copyright (c) Valve Corporation, All rights reserved.