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