DrawMeshInstanced() private method

private DrawMeshInstanced ( Mesh mesh, int submeshIndex, Material material, List matrices ) : void
mesh Mesh
submeshIndex int
material Material
matrices List
return void
コード例 #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);
        }
コード例 #2
0
ファイル: Graphics.cs プロジェクト: lsx6244413/UnityDecomplie
        public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, Matrix4x4[] matrices, int count, MaterialPropertyBlock properties)
        {
            Camera            camera         = null;
            int               layer          = 0;
            bool              receiveShadows = true;
            ShadowCastingMode castShadows    = ShadowCastingMode.On;

            Graphics.DrawMeshInstanced(mesh, submeshIndex, material, matrices, count, properties, castShadows, receiveShadows, layer, camera);
        }