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