|  | |
| Custom | |
 Inheritance Hierarchy
Inheritance Hierarchy Syntax
Syntaxpublic class CustomRenderableNode : ObjectNode
The CustomRenderableNode type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | CustomRenderableNode(RenderablePrimitiveBase, Bounds, Object) | Constructor that takes custom RenderablePrimitiveBase as parameter. | 
|  | CustomRenderableNode(ActionRenderingContext, CustomRenderableNode, Object, Bounds, Object, Material) | Constructor that takes custom Action as parameter. The action is called to provide custom rendering logic. | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | InitializeResourcesAction | Gets or sets an Action that is called when DXEngine's resources that are used by this CustomRenderableNode need to be created. The Action is called with two parameters: this CustomRenderableNode and DXScene | 
|  | UpdateAction | Gets or sets an Action that is called when the Update method is called on this SceneNode. The action is called with this CustomRenderableNode as parameter. | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | CollectRenderableObjects | The task of the CollectRenderableObjects method is to create objects derived from RenderablePrimitiveBase
            and add them to the appropriate RenderingQueue.
            This method is called at the beginning of RenderScene method call
            but only when the scene was significantly changed (number of SceneNodes is changed, material is significantly changed, etc.) (Overrides ObjectNodeCollectRenderableObjects) | 
|  | Update | Update method is called on each update phase (before render phase) (Overrides SceneNodeUpdate) | 
|  | UpdateBounds | Updates the bounds of this SceneNode if the dirty flags indicates that the bounds could be changed of if the forceUpdate parameter is set to true (Overrides SceneNodeUpdateBounds(Boolean)) | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | OriginalObject | OriginalObject that was used to create this CustomRenderablePrimitive (can be null). | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | GetGeometryModel3D | Returns a WPF's GeometryModel3D that was used to create the specified sceneNode.
            If the sceneNode does not define a GeometryModel3D object, then null is returned. (Defined by Extensions) | 
|  | GetModel3D | Returns a WPF's Model3D that was used to create the specified sceneNode.
            If the sceneNode does not define a Model3D object, then null is returned. (Defined by Extensions) | 
|  | GetModelVisual3D | Returns a WPF's ModelVisual3D that was used to create the specified sceneNode or any parent SceneNode (in case searchParentSceneNodes is true).
            If a SceneNode that defines a ModelVisual3D is not found, then null is returned. (Defined by Extensions) | 
|  | GetVisual3D | Returns a WPF's Visual3D that was used to create the specified sceneNode or any parent SceneNode (in case searchParentSceneNodes is true).
            If a SceneNode that defines a Visual3D is not found, then null is returned. (Defined by Extensions) | 
 See Also
See Also