Method DrawMeshInstanced
DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[], int, MaterialPropertyBlock)
Wraps DrawMeshInstanced on a CommandBuffer.
Declaration
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 |
DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[], int)
Wraps DrawMeshInstanced on a CommandBuffer.
Declaration
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 |
DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[])
Wraps DrawMeshInstanced on a CommandBuffer.
Declaration
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 |