Method DrawMeshInstanced
DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[], int, MaterialPropertyBlock)
Wraps DrawMeshInstanced on a CommandBuffer.
Declaration
public void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, int shaderPass, Matrix4x4[] matrices, int count, MaterialPropertyBlock properties)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Matrix4x4[] | matrices | |
int | count | |
MaterialPropertyBlock | properties |
Implements
DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[], int)
Wraps DrawMeshInstanced on a CommandBuffer.
Declaration
public void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, int shaderPass, Matrix4x4[] matrices, int count)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Matrix4x4[] | matrices | |
int | count |
Implements
DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[])
Wraps DrawMeshInstanced on a CommandBuffer.
Declaration
public void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, int shaderPass, Matrix4x4[] matrices)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Matrix4x4[] | matrices |