Class Vector3Control
A floating-point 3D vector control composed of three AxisControl.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.Input.Controls
Syntax
public class Vector3Control : InputControl<Vector3>
Constructors
Vector3Control()
Declaration
public Vector3Control()
Properties
x
Declaration
public AxisControl x { get; }
Property Value
Type | Description |
---|---|
AxisControl |
y
Declaration
public AxisControl y { get; }
Property Value
Type | Description |
---|---|
AxisControl |
z
Declaration
public AxisControl z { get; }
Property Value
Type | Description |
---|---|
AxisControl |
Methods
EvaluateMagnitude(Void*)
Declaration
public override float EvaluateMagnitude(void *statePtr)
Parameters
Type | Name | Description |
---|---|---|
System.Void* | statePtr |
Returns
Type | Description |
---|---|
System.Single |
Overrides
FinishSetup(InputDeviceBuilder)
Declaration
protected override void FinishSetup(InputDeviceBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
InputDeviceBuilder | builder |
Overrides
ReadUnprocessedValueFromState(Void*)
Declaration
public override Vector3 ReadUnprocessedValueFromState(void *statePtr)
Parameters
Type | Name | Description |
---|---|---|
System.Void* | statePtr |
Returns
Type | Description |
---|---|
Vector3 |
Overrides
UnityEngine.Experimental.Input.InputControl<Vector3>.ReadUnprocessedValueFromState(System.Void*)
WriteValueIntoState(Vector3, Void*)
Declaration
public override void WriteValueIntoState(Vector3 value, void *statePtr)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | value | |
System.Void* | statePtr |
Overrides
UnityEngine.Experimental.Input.InputControl<Vector3>.WriteValueIntoState(Vector3, System.Void*)