Method DrawMesh
DrawMesh(Mesh, Matrix4x4, Material, int, int, MaterialPropertyBlock)
Wraps DrawMesh on a CommandBuffer.
Declaration
public 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 |
Implements
DrawMesh(Mesh, Matrix4x4, Material, int, int)
Wraps DrawMesh on a CommandBuffer.
Declaration
public 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 |
Implements
DrawMesh(Mesh, Matrix4x4, Material, int)
Wraps DrawMesh on a CommandBuffer.
Declaration
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Mesh | mesh | |
| Matrix4x4 | matrix | |
| Material | material | |
| int | submeshIndex |
Implements
DrawMesh(Mesh, Matrix4x4, Material)
Wraps DrawMesh on a CommandBuffer.
Declaration
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material)
Parameters
| Type | Name | Description |
|---|---|---|
| Mesh | mesh | |
| Matrix4x4 | matrix | |
| Material | material |