Rendered |
public abstract class RenderedNode : SceneNode
The RenderedNode type exposes the following members.
Name | Description | |
---|---|---|
RenderedNode | Constructor |
Name | Description | |
---|---|---|
CustomRenderingLayer | Gets or sets a custom RenderingLayer that will contain the RenderingItem objects created by this ObjectNode. If CustomRenderingLayer is null (by default), then the RenderingItem will be put into RenderingLayer based on the material and complexity of the mesh. |
Name | Description | |
---|---|---|
GetCenterPosition | Returns center position of this RenderedNode. Center position is calculated from the center position of the local bounding box. | |
GetRenderingLayer | GetRenderingLayer | |
OnCustomRenderingLayerChanged | OnCustomRenderingLayerChanged( is a virtual protected method that is called when the value of the CustomRenderingLayer property is changed. |
Name | Description | |
---|---|---|
disposeMaterial | When true, then Material is is disposed when this SceneNode is disposed. This is usually set to true when the Material is set by this SceneNode (for example in LineNode when user only sets LineColor and this is used to create a LineMaterial) and not when set by the user (as in ModelNode where user sets Material and BackMaterial). | |
disposeMesh | When true, then Mesh is is disposed when this SceneNode is disposed. This is usually set to true when the mesh is created by this SceneNode (for example in BoxModelNode) and not set by the user (as in MeshModelNode - in this case the user should dispose the Mesh). |