Class NormalizeVector3Processor
Normalizes a Vector3
input value.
Inherited Members
Namespace: UnityEngine.InputSystem.Processors
Assembly: Unity.InputSystem.dll
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
See Also
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |