Click or drag to resize
Ab4d.SharpEngine logo

RenderedNode Class

RenderedNode is a base abstract class that is used by all SceneNodes that can render its content.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.CoreComponentBase
    Ab4d.SharpEngine.CoreInitializedSceneComponent
      Ab4d.SharpEngine.SceneNodesSceneNode
        Ab4d.SharpEngine.SceneNodesRenderedNode
          More

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public abstract class RenderedNode : SceneNode

The RenderedNode type exposes the following members.

Constructors
 NameDescription
Protected methodRenderedNode Constructor
Top
Properties
 NameDescription
Public propertyCustomRenderingLayer 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.
Top
Methods
 NameDescription
Public methodGetCenterPosition Returns center position of this RenderedNode. Center position is calculated from the center position of the local bounding box.
Protected methodGetRenderingLayer GetRenderingLayer
Protected methodOnCustomRenderingLayerChanged OnCustomRenderingLayerChanged( is a virtual protected method that is called when the value of the CustomRenderingLayer property is changed.
Top
Fields
 NameDescription
Protected fielddisposeMaterial 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).
Protected fielddisposeMesh 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).
Top
See Also
Inheritance Hierarchy