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<Vector3>.ReadUnprocessedValueFromState(System.Void*)
Declaration
public override void WriteValueIntoState(Vector3 value, void *statePtr)
Parameters
Type |
Name |
Description |
Vector3 |
value |
|
Void* |
statePtr |
|
Overrides
UnityEngine.InputSystem.InputControl<Vector3>.WriteValueIntoState(Vector3, System.Void*)
Extension Methods