INTERNAL_CALL_DrawMesh() private method

private INTERNAL_CALL_DrawMesh ( CommandBuffer self, Mesh mesh, Matrix4x4 &matrix, Material material, int submeshIndex, int shaderPass, MaterialPropertyBlock properties ) : void
self CommandBuffer
mesh Mesh
matrix Matrix4x4
material Material
submeshIndex int
shaderPass int
properties MaterialPropertyBlock
return void
コード例 #1
0
        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);
        }
コード例 #2
0
 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);
 }