Class VectorExtensions
Inheritance
System.Object
VectorExtensions
Namespace: Atlas
Assembly: Atlas.Runtime.dll
Syntax
public static class VectorExtensions
Methods
|
Improve this Doc
View Source
SetX(Vector2, Single)
Declaration
public static Vector2 SetX(this Vector2 v, float x)
Parameters
Type |
Name |
Description |
UnityEngine.Vector2 |
v |
|
System.Single |
x |
|
Returns
Type |
Description |
UnityEngine.Vector2 |
|
|
Improve this Doc
View Source
SetX(Vector3, Single)
Declaration
public static Vector3 SetX(this Vector3 v, float x)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3 |
v |
|
System.Single |
x |
|
Returns
Type |
Description |
UnityEngine.Vector3 |
|
|
Improve this Doc
View Source
SetY(Vector2, Single)
Declaration
public static Vector2 SetY(this Vector2 v, float y)
Parameters
Type |
Name |
Description |
UnityEngine.Vector2 |
v |
|
System.Single |
y |
|
Returns
Type |
Description |
UnityEngine.Vector2 |
|
|
Improve this Doc
View Source
SetY(Vector3, Single)
Declaration
public static Vector3 SetY(this Vector3 v, float y)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3 |
v |
|
System.Single |
y |
|
Returns
Type |
Description |
UnityEngine.Vector3 |
|
|
Improve this Doc
View Source
SetZ(Vector3, Single)
Declaration
public static Vector3 SetZ(this Vector3 v, float z)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3 |
v |
|
System.Single |
z |
|
Returns
Type |
Description |
UnityEngine.Vector3 |
|