Class VectorUtils
Inheritance
System.Object
VectorUtils
Assembly: Sylves.dll
Syntax
public static class VectorUtils : Object
Methods
Abs(Vector3)
Declaration
public static Vector3 Abs(Vector3 v)
Parameters
Returns
Divide(Vector3, Vector3)
Declaration
public static Vector3 Divide(Vector3 a, Vector3 b)
Parameters
Returns
ToMatrix(Vector3, Vector3, Vector3)
Declaration
public static Matrix4x4 ToMatrix(Vector3 col1, Vector3 col2, Vector3 col3)
Parameters
Returns
ToMatrix(Vector3, Vector3, Vector3, Vector3)
Declaration
public static Matrix4x4 ToMatrix(Vector3 col1, Vector3 col2, Vector3 col3, Vector3 col4)
Parameters
Returns
ToMatrix(Vector3, Vector3, Vector3, Vector4)
Declaration
public static Matrix4x4 ToMatrix(Vector3 col1, Vector3 col2, Vector3 col3, Vector4 col4)
Parameters
Returns
ToVector2(Vector3)
Declaration
public static Vector2 ToVector2(Vector3 v)
Parameters
Returns
ToVector3(Vector2)
Declaration
public static Vector3 ToVector3(Vector2 v)
Parameters
Returns
ToVector3(Vector2, Single)
Declaration
public static Vector3 ToVector3(Vector2 v, float z)
Parameters
Type |
Name |
Description |
Vector2 |
v |
|
System.Single |
z |
|
Returns
ToVector3(Vector4)
Declaration
public static Vector3 ToVector3(Vector4 v)
Parameters
Returns
ToVector4(Vector3)
Declaration
public static Vector4 ToVector4(Vector3 v)
Parameters
Returns
ToVector4(Vector3, Single)
Declaration
public static Vector4 ToVector4(Vector3 v, float w)
Parameters
Type |
Name |
Description |
Vector3 |
v |
|
System.Single |
w |
|
Returns