Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Engine.ModelComponent Class Reference

Add a Model to an Entity, that will be used during rendering. More...

Inheritance diagram for SiliconStudio.Paradox.Engine.ModelComponent:
SiliconStudio.Paradox.EntityModel.EntityComponent SiliconStudio.Paradox.Effects.IModelInstance SiliconStudio.Core.IContentUrl

Public Member Functions

 ModelComponent ()
 Initializes a new instance of the ModelComponent class. More...
 
 ModelComponent (Model model)
 Initializes a new instance of the ModelComponent class. More...
 
- Public Member Functions inherited from SiliconStudio.Paradox.EntityModel.EntityComponent
 EntityComponent ()
 Initializes a new instance of the EntityComponent class. More...
 

Static Public Attributes

static PropertyKey
< ModelComponent
Key = new PropertyKey<ModelComponent>("Key", typeof(ModelComponent))
 

Properties

Model Model [get, set]
 Gets or sets the model. More...
 
ModelViewHierarchyUpdater ModelViewHierarchy [get, set]
 
bool Enabled [get, set]
 Gets or sets a value indicating whether rendering is enabled. More...
 
float DrawOrder [get, set]
 Gets or sets the draw order (from lowest to highest). More...
 
ParameterCollection Parameters [get, set]
 Gets the parameters used to render this mesh. More...
 
override PropertyKey DefaultKey [get]
 
- Properties inherited from SiliconStudio.Paradox.EntityModel.EntityComponent
Entity Entity [get, set]
 Gets or sets the owner entity. More...
 
Entity EnsureEntity [get]
 Gets the entity and throws an exception if the entity is null. More...
 
virtual PropertyKey DefaultKey [get]
 The default key this component is associated to. More...
 
- Properties inherited from SiliconStudio.Core.IContentUrl
string Url [get, set]
 The URL of this asset. More...
 
- Properties inherited from SiliconStudio.Paradox.Effects.IModelInstance
Model Model [get]
 Gets the model. More...
 
ParameterCollection Parameters [get]
 Gets the parameters. More...
 
float DrawOrder [get]
 Gets the draw order. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from SiliconStudio.Paradox.EntityModel.EntityComponent
static PropertyKey GetDefaultKey< T > ()
 Gets the default key for the specified entity component type. More...
 

Detailed Description

Add a Model to an Entity, that will be used during rendering.

Definition at line 15 of file ModelComponent.cs.

Constructor & Destructor Documentation

SiliconStudio.Paradox.Engine.ModelComponent.ModelComponent ( )

Initializes a new instance of the ModelComponent class.

Definition at line 24 of file ModelComponent.cs.

SiliconStudio.Paradox.Engine.ModelComponent.ModelComponent ( Model  model)

Initializes a new instance of the ModelComponent class.

Parameters
modelThe model.

Definition at line 32 of file ModelComponent.cs.

Member Data Documentation

PropertyKey<ModelComponent> SiliconStudio.Paradox.Engine.ModelComponent.Key = new PropertyKey<ModelComponent>("Key", typeof(ModelComponent))
static

Definition at line 17 of file ModelComponent.cs.

Property Documentation

override PropertyKey SiliconStudio.Paradox.Engine.ModelComponent.DefaultKey
get

Definition at line 109 of file ModelComponent.cs.

float SiliconStudio.Paradox.Engine.ModelComponent.DrawOrder
getset

Gets or sets the draw order (from lowest to highest).

The draw order.

Definition at line 83 of file ModelComponent.cs.

bool SiliconStudio.Paradox.Engine.ModelComponent.Enabled
getset

Gets or sets a value indicating whether rendering is enabled.

true if rendering is enabled; otherwise, false.

Definition at line 74 of file ModelComponent.cs.

Model SiliconStudio.Paradox.Engine.ModelComponent.Model
getset

Gets or sets the model.

The model.

Definition at line 48 of file ModelComponent.cs.

ModelViewHierarchyUpdater SiliconStudio.Paradox.Engine.ModelComponent.ModelViewHierarchy
getset

Definition at line 62 of file ModelComponent.cs.

ParameterCollection SiliconStudio.Paradox.Engine.ModelComponent.Parameters
getset

Gets the parameters used to render this mesh.

The parameters.

Definition at line 90 of file ModelComponent.cs.


The documentation for this class was generated from the following file: