Class Vector3Round
Rounds each component of a 3D vector.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Vector 3")]
[UnitTitle("Round")]
public sealed class Vector3Round : Round<Vector3, Vector3>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Methods
AwayFromZero(Vector3)
Declaration
protected override Vector3 AwayFromZero(Vector3 input)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | input |
Returns
Type | Description |
---|---|
Vector3 |
Overrides
Unity.VisualScripting.Round<UnityEngine.Vector3, UnityEngine.Vector3>.AwayFromZero(UnityEngine.Vector3)
Ceiling(Vector3)
Declaration
protected override Vector3 Ceiling(Vector3 input)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | input |
Returns
Type | Description |
---|---|
Vector3 |
Overrides
Unity.VisualScripting.Round<UnityEngine.Vector3, UnityEngine.Vector3>.Ceiling(UnityEngine.Vector3)
Floor(Vector3)
Declaration
protected override Vector3 Floor(Vector3 input)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | input |
Returns
Type | Description |
---|---|
Vector3 |
Overrides
Unity.VisualScripting.Round<UnityEngine.Vector3, UnityEngine.Vector3>.Floor(UnityEngine.Vector3)