Method DrawMesh
DrawMesh(Mesh, Matrix4x4, Material, int, int, MaterialPropertyBlock)
Wraps DrawMesh on a CommandBuffer.
Declaration
void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex, int shaderPass, MaterialPropertyBlock properties)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | |
Matrix4x4 | matrix | |
Material | material | |
int | submeshIndex | |
int | shaderPass | |
MaterialPropertyBlock | properties |
DrawMesh(Mesh, Matrix4x4, Material, int, int)
Wraps DrawMesh on a CommandBuffer.
Declaration
void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex, int shaderPass)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | |
Matrix4x4 | matrix | |
Material | material | |
int | submeshIndex | |
int | shaderPass |
DrawMesh(Mesh, Matrix4x4, Material, int)
Wraps DrawMesh on a CommandBuffer.
Declaration
void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | |
Matrix4x4 | matrix | |
Material | material | |
int | submeshIndex |
DrawMesh(Mesh, Matrix4x4, Material)
Wraps DrawMesh on a CommandBuffer.
Declaration
void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | |
Matrix4x4 | matrix | |
Material | material |