Class UnityNumericsVectorUtils
Hands engine vectors to the engine-free geometry in Business, which speaks System.Numerics types only,
and takes the points and directions it answers with back.
Inheritance
UnityNumericsVectorUtils
Assembly: Serenity.UnityGlobal.Infrastructure.dll
Syntax
public static class UnityNumericsVectorUtils
Methods
ToNumerics(Vector3)
The same point or direction as a Vector3, component by component.
Declaration
public static Vector3 ToNumerics(this Vector3 vector)
Parameters
| Type |
Name |
Description |
| Vector3 |
vector |
|
Returns
ToUnity(Vector3)
The same point or direction as a UnityEngine.Vector3, component by component.
Declaration
public static Vector3 ToUnity(this Vector3 vector)
Parameters
| Type |
Name |
Description |
| Vector3 |
vector |
|
Returns