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

Instantiation of a Model through a RenderPipeline. More...

Public Member Functions

 RenderModel (RenderPipeline pipeline, IModelInstance modelInstance)
 Initializes a new instance of the RenderModel class. More...
 
 RenderModel (RenderPipeline pipeline, Model model)
 Initializes a new instance of the RenderModel class. More...
 

Public Attributes

readonly List< RenderMesh >[] RenderMeshes
 Gets the meshes instantiated for this view. More...
 
readonly IModelInstance ModelInstance
 The model instance More...
 
readonly Model Model
 Gets the underlying model. More...
 
readonly ParameterCollection Parameters
 Gets the instance parameters to this model. More...
 
readonly RenderPipeline Pipeline
 Gets the render pipeline. More...
 

Detailed Description

Instantiation of a Model through a RenderPipeline.

Definition at line 11 of file RenderModel.cs.

Constructor & Destructor Documentation

SiliconStudio.Paradox.Effects.RenderModel.RenderModel ( RenderPipeline  pipeline,
IModelInstance  modelInstance 
)

Initializes a new instance of the RenderModel class.

Parameters
pipelineThe pipeline.
modelInstanceThe model instance.
Exceptions
System.ArgumentNullExceptionpipeline

Definition at line 19 of file RenderModel.cs.

SiliconStudio.Paradox.Effects.RenderModel.RenderModel ( RenderPipeline  pipeline,
Model  model 
)

Initializes a new instance of the RenderModel class.

Parameters
pipelineThe pipeline.
modelThe model.
Exceptions
System.ArgumentNullExceptionpipeline

Definition at line 44 of file RenderModel.cs.

Member Data Documentation

readonly Model SiliconStudio.Paradox.Effects.RenderModel.Model

Gets the underlying model.

The underlying model.

Definition at line 72 of file RenderModel.cs.

readonly IModelInstance SiliconStudio.Paradox.Effects.RenderModel.ModelInstance

The model instance

Definition at line 64 of file RenderModel.cs.

readonly ParameterCollection SiliconStudio.Paradox.Effects.RenderModel.Parameters

Gets the instance parameters to this model.

The instance parameters to this model.

Definition at line 80 of file RenderModel.cs.

readonly RenderPipeline SiliconStudio.Paradox.Effects.RenderModel.Pipeline

Gets the render pipeline.

The render pipeline.

Definition at line 88 of file RenderModel.cs.

readonly List<RenderMesh> [] SiliconStudio.Paradox.Effects.RenderModel.RenderMeshes

Gets the meshes instantiated for this view.

The meshes instantiated for this view.

Definition at line 59 of file RenderModel.cs.


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