2 * Copyright (c) 2007-2010 SlimDX Group
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
5 * of this software and associated documentation files (the "Software"), to deal
6 * in the Software without restriction, including without limitation the rights
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 * copies of the Software, and to permit persons to whom the Software is
9 * furnished to do so, subject to the following conditions:
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
28 ref class MeshContainer;
32 class MeshContainerShim : public D3DXMESHCONTAINER
35 gcroot<MeshContainer^> m_Container;
38 MeshContainerShim( MeshContainer^ container );
40 MeshContainer^ GetMeshContainer()
46 public ref class MeshContainer
49 property D3DXMESHCONTAINER *Pointer;
53 System::String^ m_Name;
54 MeshContainer^ m_NextContainer;
60 virtual ~MeshContainer();
63 array<ExtendedMaterial>^ GetMaterials();
64 void SetMaterials( array<ExtendedMaterial>^ materials );
66 array<EffectInstance>^ GetEffects();
67 void SetEffects( array<EffectInstance>^ effects );
69 array<int>^ GetAdjacency();
70 void SetAdjacency( array<int>^ adjacency );
72 property System::String^ Name
74 System::String^ get();
75 void set( System::String^ value );
78 property MeshData^ MeshData
80 SlimDX::Direct3D9::MeshData^ get();
81 void set( SlimDX::Direct3D9::MeshData^ value );
84 property SkinInfo^ SkinInfo
86 SlimDX::Direct3D9::SkinInfo^ get();
87 void set( SlimDX::Direct3D9::SkinInfo^ value );
90 property MeshContainer^ NextMeshContainer
93 void set( MeshContainer^ value );