UnityEngine.Graphics.DrawMeshInstanced C# (CSharp) Method

DrawMeshInstanced() private method

private DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, Matrix4x4 matrices, int count, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer ) : void
mesh Mesh
submeshIndex int
material Material
matrices Matrix4x4
count int
properties MaterialPropertyBlock
castShadows ShadowCastingMode
receiveShadows bool
layer int
return void
        public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, Matrix4x4[] matrices, int count, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer)
        {
            Camera camera = null;
            DrawMeshInstanced(mesh, submeshIndex, material, matrices, count, properties, castShadows, receiveShadows, layer, camera);
        }

Same methods

Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, List matrices ) : void
Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, List matrices, MaterialPropertyBlock properties ) : void
Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, List matrices, MaterialPropertyBlock properties, ShadowCastingMode castShadows ) : void
Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, List matrices, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows ) : void
Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, List matrices, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer ) : void
Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, List matrices, [ properties, [ castShadows, [ receiveShadows, [ layer, [ camera ) : void
Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, Matrix4x4 matrices ) : void
Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, Matrix4x4 matrices, [ count, [ properties, [ castShadows, [ receiveShadows, [ layer, [ camera ) : void
Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, Matrix4x4 matrices, int count ) : void
Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, Matrix4x4 matrices, int count, MaterialPropertyBlock properties ) : void
Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, Matrix4x4 matrices, int count, MaterialPropertyBlock properties, ShadowCastingMode castShadows ) : void
Graphics::DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, Matrix4x4 matrices, int count, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows ) : void

Usage Example

コード例 #1
0
ファイル: Graphics.cs プロジェクト: lsx6244413/UnityDecomplie
        public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, List <Matrix4x4> matrices, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows)
        {
            Camera camera = null;
            int    layer  = 0;

            Graphics.DrawMeshInstanced(mesh, submeshIndex, material, matrices, properties, castShadows, receiveShadows, layer, camera);
        }
All Usage Examples Of UnityEngine.Graphics::DrawMeshInstanced