docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PoseControl

    Input System control that wraps up a Pose structure. All individual pose elements can be referenced separately. See InputControl for more details.

    Inheritance
    object
    InputControl
    InputControl<Pose>
    PoseControl
    Inherited Members
    InputControl<Pose>.ReadValue()
    InputControl<Pose>.ReadValueFromPreviousFrame()
    InputControl<Pose>.ReadDefaultValue()
    InputControl<Pose>.ReadValueFromState(void*)
    InputControl<Pose>.ReadValueFromStateWithCaching(void*)
    InputControl<Pose>.ReadUnprocessedValueFromStateWithCaching(void*)
    InputControl<Pose>.ReadUnprocessedValue()
    InputControl<Pose>.ReadValueFromStateAsObject(void*)
    InputControl<Pose>.ReadValueFromStateIntoBuffer(void*, void*, int)
    InputControl<Pose>.WriteValueFromBufferIntoState(void*, int, void*)
    InputControl<Pose>.WriteValueFromObjectIntoState(object, void*)
    InputControl<Pose>.ReadValueFromBufferAsObject(void*, int)
    InputControl<Pose>.CompareValue(void*, void*)
    InputControl<Pose>.ProcessValue(Pose)
    InputControl<Pose>.ProcessValue(ref Pose)
    InputControl<Pose>.valueType
    InputControl<Pose>.valueSizeInBytes
    InputControl<Pose>.value
    InputControl.m_StateBlock
    InputControl.ToString()
    InputControl.EvaluateMagnitude()
    InputControl.EvaluateMagnitude(void*)
    InputControl.TryGetChildControl(string)
    InputControl.TryGetChildControl<TControl>(string)
    InputControl.GetChildControl(string)
    InputControl.GetChildControl<TControl>(string)
    InputControl.RefreshConfigurationIfNeeded()
    InputControl.RefreshConfiguration()
    InputControl.CalculateOptimizedControlDataType()
    InputControl.ApplyParameterChanges()
    InputControl.name
    InputControl.displayName
    InputControl.shortDisplayName
    InputControl.path
    InputControl.layout
    InputControl.variants
    InputControl.device
    InputControl.parent
    InputControl.children
    InputControl.usages
    InputControl.aliases
    InputControl.stateBlock
    InputControl.noisy
    InputControl.synthetic
    InputControl.this[string]
    InputControl.magnitude
    InputControl.currentStatePtr
    InputControl.previousFrameStatePtr
    InputControl.defaultStatePtr
    InputControl.noiseMaskPtr
    InputControl.stateOffsetRelativeToDeviceRoot
    InputControl.optimizedControlDataType
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.XR.OpenXR.Input
    Assembly: solution.dll
    Syntax
    public class PoseControl : InputControl<Pose>

    Constructors

    PoseControl()

    Default Constructor required by the Input System for instantiation.

    Declaration
    public PoseControl()

    Properties

    angularVelocity

    Separate access to the angularVelocity value.

    Declaration
    [Preserve]
    [InputControl]
    public Vector3Control angularVelocity { get; }
    Property Value
    Type Description
    Vector3Control

    isTracked

    Separate access to the isTracked value.

    Declaration
    [Preserve]
    [InputControl]
    public ButtonControl isTracked { get; }
    Property Value
    Type Description
    ButtonControl

    position

    Separate access to the position value.

    Declaration
    [Preserve]
    [InputControl]
    public Vector3Control position { get; }
    Property Value
    Type Description
    Vector3Control

    rotation

    Separate access to the rotation value.

    Declaration
    [Preserve]
    [InputControl]
    public QuaternionControl rotation { get; }
    Property Value
    Type Description
    QuaternionControl

    trackingState

    Separate access to the trackingState value.

    Declaration
    [Preserve]
    [InputControl]
    public IntegerControl trackingState { get; }
    Property Value
    Type Description
    IntegerControl

    velocity

    Separate access to the velocity value.

    Declaration
    [Preserve]
    [InputControl]
    public Vector3Control velocity { get; }
    Property Value
    Type Description
    Vector3Control

    Methods

    FinishSetup()

    See InputControl.FinishSetup

    Declaration
    protected override void FinishSetup()
    Overrides
    UnityEngine.InputSystem.InputControl<UnityEngine.XR.OpenXR.Input.Pose>.FinishSetup()

    ReadUnprocessedValueFromState(void*)

    Read unprocessed state values from the input control state.

    Declaration
    public override Pose ReadUnprocessedValueFromState(void* statePtr)
    Parameters
    Type Name Description
    void* statePtr

    State data to read from.

    Returns
    Type Description
    Pose

    The pose data from the unprocessed state.

    Overrides
    InputControl<Pose>.ReadUnprocessedValueFromState(void*)

    WriteValueIntoState(Pose, void*)

    Write value data into input control state.

    Declaration
    public override void WriteValueIntoState(Pose value, void* statePtr)
    Parameters
    Type Name Description
    Pose value

    The value to write into the control state.

    void* statePtr

    A pointer to the control state data.

    Overrides
    InputControl<Pose>.WriteValueIntoState(Pose, void*)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)