INTERNAL_CALL_DrawMesh() 개인적인 메소드

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
리턴 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);
 }