A floating-point 3D vector control composed of three AxisControl.
Inheritance
Vector3Control
public class Vector3Control : InputControl<Vector3>
Constructors
Declaration
Properties
Declaration
public AxisControl x { get; set; }
Property Value
Declaration
public AxisControl y { get; set; }
Property Value
Declaration
public AxisControl z { get; set; }
Property Value
Methods
Declaration
public override float EvaluateMagnitude(void *statePtr)
Parameters
Type |
Name |
Description |
Void* |
statePtr |
|
Returns
Overrides
Declaration
protected override void FinishSetup()
Overrides
Declaration
public override Vector3 ReadUnprocessedValueFromState(void *statePtr)
Parameters
Type |
Name |
Description |
Void* |
statePtr |
|
Returns
Overrides
UnityEngine.InputSystem.InputControl<UnityEngine.Vector3>.ReadUnprocessedValueFromState(System.Void*)
Declaration
public override void WriteValueIntoState(Vector3 value, void *statePtr)
Parameters
Overrides
UnityEngine.InputSystem.InputControl<UnityEngine.Vector3>.WriteValueIntoState(UnityEngine.Vector3, System.Void*)
Extension Methods