Table of Contents

Class CoherenceToUnityConverters

Namespace
Coherence
Assembly
Coherence.Toolkit.dll
public static class CoherenceToUnityConverters
Inheritance
CoherenceToUnityConverters

Methods

ToCoreColor(Color)

public static Vector4 ToCoreColor(this Color c)

Parameters

c Color

Returns

Vector4

ToCoreQuaternion(Quaternion)

public static Quaternion ToCoreQuaternion(this Quaternion q)

Parameters

q Quaternion

Returns

Quaternion

ToCoreVector2(Vector2)

public static Vector2 ToCoreVector2(this Vector2 v)

Parameters

v Vector2

Returns

Vector2

ToCoreVector3(Vector3)

public static Vector3 ToCoreVector3(this Vector3 v)

Parameters

v Vector3

Returns

Vector3

ToCoreVector4(Vector4)

public static Vector4 ToCoreVector4(this Vector4 v)

Parameters

v Vector4

Returns

Vector4

ToUnityColor(Vector4)

public static Color ToUnityColor(this Vector4 c)

Parameters

c Vector4

Returns

Color

ToUnityQuaternion(Quaternion)

public static Quaternion ToUnityQuaternion(this Quaternion q)

Parameters

q Quaternion

Returns

Quaternion

ToUnityVector2(Vector2)

public static Vector2 ToUnityVector2(this Vector2 v)

Parameters

v Vector2

Returns

Vector2

ToUnityVector3(Vector3d)

public static Vector3 ToUnityVector3(this Vector3d v)

Parameters

v Vector3d

Returns

Vector3

ToUnityVector3(Vector3)

public static Vector3 ToUnityVector3(this Vector3 v)

Parameters

v Vector3

Returns

Vector3

ToUnityVector4(Vector4)

public static Vector4 ToUnityVector4(this Vector4 v)

Parameters

v Vector4

Returns

Vector4

ToVector3d(Vector3)

public static Vector3d ToVector3d(this Vector3 v)

Parameters

v Vector3

Returns

Vector3d