A generic input control reading quaternion (rotation) values.
Inheritance
System.Object
QuaternionControl
public class QuaternionControl : InputControl<Quaternion>
Constructors
Declaration
public QuaternionControl()
Properties
Declaration
public AxisControl w { get; }
Property Value
Declaration
public AxisControl x { get; }
Property Value
Declaration
public AxisControl y { get; }
Property Value
Declaration
public AxisControl z { get; }
Property Value
Methods
Declaration
protected override void FinishSetup()
Overrides
Declaration
public override Quaternion ReadUnprocessedValueFromState(void *statePtr)
Parameters
Type |
Name |
Description |
System.Void* |
statePtr |
|
Returns
Type |
Description |
Quaternion |
|
Overrides
UnityEngine.InputSystem.InputControl<Quaternion>.ReadUnprocessedValueFromState(System.Void*)
Declaration
public override void WriteValueIntoState(Quaternion value, void *statePtr)
Parameters
Type |
Name |
Description |
Quaternion |
value |
|
System.Void* |
statePtr |
|
Overrides
UnityEngine.InputSystem.InputControl<Quaternion>.WriteValueIntoState(Quaternion, System.Void*)
Extension Methods