private INTERNAL_CALL_DrawMesh ( |
||
self | ||
mesh | Mesh | |
matrix | Matrix4x4 | |
material | Material | |
submeshIndex | int | |
shaderPass | int | |
properties | MaterialPropertyBlock | |
Résultat | void |
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex) { MaterialPropertyBlock properties = null; int shaderPass = -1; CommandBuffer.INTERNAL_CALL_DrawMesh(this, mesh, ref matrix, material, submeshIndex, shaderPass, properties); }
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, [DefaultValue("0")] int submeshIndex, [DefaultValue("-1")] int shaderPass, [DefaultValue("null")] MaterialPropertyBlock properties) { CommandBuffer.INTERNAL_CALL_DrawMesh(this, mesh, ref matrix, material, submeshIndex, shaderPass, properties); }