Class NormalizeVector3Processor
Normalizes a Vector3
input value.
Inherited Members
Namespace: UnityEngine.InputSystem.Processors
Syntax
public class NormalizeVector3Processor : InputProcessor<Vector3>
Remarks
This processor is registered (see RegisterProcessor<T>(String)) under the name "normalizeVector3".
Methods
Process(Vector3, InputControl)
Normalize value
. Performs the equivalent of value.normalized
.
Declaration
public override Vector3 Process(Vector3 value, InputControl control)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | value | Input vector. |
InputControl | control | Ignored. |
Returns
Type | Description |
---|---|
Vector3 | Normalized vector. |
Overrides
UnityEngine.InputSystem.InputProcessor<Vector3>.Process(Vector3, UnityEngine.InputSystem.InputControl)
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |