![]() |
Paradox Game Engine
v1.0.0 beta06
|
Add a Model to an Entity, that will be used during rendering. More...
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... | |
Add a Model to an Entity, that will be used during rendering.
Definition at line 15 of file ModelComponent.cs.
| 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.
| model | The model. |
Definition at line 32 of file ModelComponent.cs.
|
static |
Definition at line 17 of file ModelComponent.cs.
|
get |
Definition at line 109 of file ModelComponent.cs.
|
getset |
Gets or sets the draw order (from lowest to highest).
The draw order.
Definition at line 83 of file ModelComponent.cs.
|
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.
|
getset |
|
getset |
Definition at line 62 of file ModelComponent.cs.
|
getset |
Gets the parameters used to render this mesh.
The parameters.
Definition at line 90 of file ModelComponent.cs.