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