![]() |
Paradox Game Engine
v1.0.0 beta06
|
An effect mesh. More...
Public Member Functions | |
RenderMesh (RenderModel renderModel, Mesh mesh) | |
Initializes a new instance of the RenderMesh class. More... | |
void | Draw (RenderContext context) |
Draw this effect mesh. More... | |
override void | FillParameterCollections (IList< ParameterCollection > parameterCollections) |
Fills the parameter collections used by this instance. More... | |
Public Attributes | |
readonly RenderModel | RenderModel |
The model instance associated to this effect mesh. More... | |
readonly Mesh | Mesh |
The mesh associated with this instance. More... | |
Properties | |
bool | Enabled [get, set] |
Enable or disable this particular effect mesh. More... | |
![]() | |
Effect | Effect [get, set] |
Gets the effect currently being compiled. More... | |
Additional Inherited Members | |
![]() | |
DynamicEffectInstance () | |
An effect mesh.
Definition at line 14 of file RenderMesh.cs.
SiliconStudio.Paradox.Effects.RenderMesh.RenderMesh | ( | RenderModel | renderModel, |
Mesh | mesh | ||
) |
Initializes a new instance of the RenderMesh class.
renderModel | The render model. |
mesh | The mesh data. |
System.ArgumentNullException | mesh |
Definition at line 35 of file RenderMesh.cs.
void SiliconStudio.Paradox.Effects.RenderMesh.Draw | ( | RenderContext | context | ) |
Draw this effect mesh.
Definition at line 52 of file RenderMesh.cs.
|
virtual |
Fills the parameter collections used by this instance.
parameterCollections | The parameter collections. |
Implements SiliconStudio.Paradox.Effects.DynamicEffectInstance.
Definition at line 109 of file RenderMesh.cs.
References SiliconStudio.Paradox.Effects.Mesh.Material, and SiliconStudio.Paradox.Effects.Mesh.Parameters.
readonly Mesh SiliconStudio.Paradox.Effects.RenderMesh.Mesh |
The mesh associated with this instance.
Definition at line 27 of file RenderMesh.cs.
readonly RenderModel SiliconStudio.Paradox.Effects.RenderMesh.RenderModel |
The model instance associated to this effect mesh.
The model instance.
Definition at line 22 of file RenderMesh.cs.
|
getset |
Enable or disable this particular effect mesh.
Definition at line 47 of file RenderMesh.cs.