Show / Hide Table of Contents

Class VectorUtils

Inheritance
System.Object
VectorUtils
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public static class VectorUtils : Object

Methods

Abs(Vector3)

Declaration
public static Vector3 Abs(Vector3 v)
Parameters
Type Name Description
Vector3 v
Returns
Type Description
Vector3

Divide(Vector3, Vector3)

Declaration
public static Vector3 Divide(Vector3 a, Vector3 b)
Parameters
Type Name Description
Vector3 a
Vector3 b
Returns
Type Description
Vector3

ToMatrix(Vector3, Vector3, Vector3)

Declaration
public static Matrix4x4 ToMatrix(Vector3 col1, Vector3 col2, Vector3 col3)
Parameters
Type Name Description
Vector3 col1
Vector3 col2
Vector3 col3
Returns
Type Description
Matrix4x4

ToMatrix(Vector3, Vector3, Vector3, Vector3)

Declaration
public static Matrix4x4 ToMatrix(Vector3 col1, Vector3 col2, Vector3 col3, Vector3 col4)
Parameters
Type Name Description
Vector3 col1
Vector3 col2
Vector3 col3
Vector3 col4
Returns
Type Description
Matrix4x4

ToMatrix(Vector3, Vector3, Vector3, Vector4)

Declaration
public static Matrix4x4 ToMatrix(Vector3 col1, Vector3 col2, Vector3 col3, Vector4 col4)
Parameters
Type Name Description
Vector3 col1
Vector3 col2
Vector3 col3
Vector4 col4
Returns
Type Description
Matrix4x4

ToVector2(Vector3)

Declaration
public static Vector2 ToVector2(Vector3 v)
Parameters
Type Name Description
Vector3 v
Returns
Type Description
Vector2

ToVector3(Vector2)

Declaration
public static Vector3 ToVector3(Vector2 v)
Parameters
Type Name Description
Vector2 v
Returns
Type Description
Vector3

ToVector3(Vector2, Single)

Declaration
public static Vector3 ToVector3(Vector2 v, float z)
Parameters
Type Name Description
Vector2 v
System.Single z
Returns
Type Description
Vector3

ToVector3(Vector4)

Declaration
public static Vector3 ToVector3(Vector4 v)
Parameters
Type Name Description
Vector4 v
Returns
Type Description
Vector3

ToVector4(Vector3)

Declaration
public static Vector4 ToVector4(Vector3 v)
Parameters
Type Name Description
Vector3 v
Returns
Type Description
Vector4

ToVector4(Vector3, Single)

Declaration
public static Vector4 ToVector4(Vector3 v, float w)
Parameters
Type Name Description
Vector3 v
System.Single w
Returns
Type Description
Vector4
In This Article
Back to top Generated by DocFX