![]() |
Paradox Game Engine
v1.0.0 beta06
|
Collection of Mesh, each one usually being a different LOD of the same Model. The effect system will select the appropriate LOD depending on distance, current pass, and other effect-specific requirements. More...
Public Member Functions | |
void | Add (Model model) |
Adds the specified model view (for collection initializers). More... | |
void | Add (Mesh mesh) |
Adds the specified mesh (for collection initializers). More... | |
Model | Instantiate () |
Create a clone with its own ParameterCollection. It allows reuse of a single Model for multiple ModelComponent. More... | |
Static Public Member Functions | |
static Model | FromGeometricMeshData (GraphicsDevice graphicsDevice, GeometricMeshData< VertexPositionNormalTexture > geometryMesh, string effectName="Default") |
static Model | FromGeometricMeshData (GraphicsDevice graphicsDevice, GeometricMeshData< VertexPositionNormalTangentMultiTexture > geometryMesh, string effectName="Default") |
static Model | FromGeometricMeshData< T > (GraphicsDevice graphicsDevice, GeometricMeshData< T > geometryMesh, BoundingBox boundingBox, VertexDeclaration layout, string effectName="Default") |
Properties | |
IList< Model > | Children [get, set] |
Gets the views. More... | |
List< Mesh > | Meshes [get] |
Gets the meshes. More... | |
ModelViewHierarchyDefinition | Hierarchy [get, set] |
Gets or sets the hierarchy definition, which describes nodes name, default transformation and hierarchical parent. More... | |
BoundingBox | BoundingBox [get, set] |
Gets or sets the bounding box encompassing all the Meshes (not including animation). More... | |
Collection of Mesh, each one usually being a different LOD of the same Model. The effect system will select the appropriate LOD depending on distance, current pass, and other effect-specific requirements.
void SiliconStudio.Paradox.Effects.Model.Add | ( | Model | model | ) |
void SiliconStudio.Paradox.Effects.Model.Add | ( | Mesh | mesh | ) |
|
static |
Definition at line 102 of file Model.cs.
References SiliconStudio.Paradox.Graphics.VertexPositionNormalTexture.Layout, and SiliconStudio.Core.Mathematics.BoundingBox.Merge().
|
static |
Definition at line 114 of file Model.cs.
References SiliconStudio.Paradox.Graphics.VertexPositionNormalTangentMultiTexture.Layout, and SiliconStudio.Core.Mathematics.BoundingBox.Merge().
|
static |
T | : | struct | |
T | : | IVertex |
Definition at line 126 of file Model.cs.
References SiliconStudio.Paradox.Graphics.Buffer.New().
Model SiliconStudio.Paradox.Effects.Model.Instantiate | ( | ) |
Create a clone with its own ParameterCollection. It allows reuse of a single Model for multiple ModelComponent.
|
getset |
|
getset |
|
getset |
Gets or sets the hierarchy definition, which describes nodes name, default transformation and hierarchical parent.
The hierarchy, which describes nodes name, default transformation and hierarchical parent.
Definition at line 61 of file Model.cs.
Referenced by SiliconStudio.Paradox.Effects.ModelViewHierarchyUpdater.Initialize().
|
get |