Inheritance
System.Object
MeshUtility
public static class MeshUtility
Properties
Declaration
public static Material defaultProjectionMaterial { get; }
Property Value
Type |
Description |
Material |
|
Methods
Declaration
public static Quaternion QuaternionFromMatrix(Matrix4x4 m)
Parameters
Type |
Name |
Description |
Matrix4x4 |
m |
|
Returns
Type |
Description |
Quaternion |
|
RenderTopdownProjection(Mesh, Matrix4x4, RenderTexture, Material, MeshUtility.ShaderPass)
Declaration
public static void RenderTopdownProjection(Mesh mesh, Matrix4x4 model, RenderTexture destination, Material mat, MeshUtility.ShaderPass pass)
Parameters
Type |
Name |
Description |
Mesh |
mesh |
|
Matrix4x4 |
model |
|
RenderTexture |
destination |
|
Material |
mat |
|
MeshUtility.ShaderPass |
pass |
|
Declaration
public static Bounds TransformBounds(Matrix4x4 m, Bounds bounds)
Parameters
Type |
Name |
Description |
Matrix4x4 |
m |
|
Bounds |
bounds |
|
Returns