Class VirgisVectorExtensions
Inherited Members
Namespace: Virgis
Assembly: cs.temp.dll.dll
Syntax
public static class VirgisVectorExtensions
Methods
Round(Vector3, Single)
Rounds a Vector3 in 3d to the nearest value divisible by roundTo
Declaration
public static Vector3 Round(this Vector3 vector3, float roundTo = 0.1F)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | vector3 | Vector 3 value |
| Single | roundTo | rounding size |
Returns
| Type | Description |
|---|---|
| Vector3 | Vector3 rounded value |