Click or drag to resize
AB4D logo

ObjectNode Class

ObjectNode is a SceneNode that is used by scene nodes that can produce renderable objects (objects derived from RenderablePrimitiveBase class). Renderable objects are defined in the overridden CollectRenderableObjects method.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXSharedDXResource
      Ab3d.DirectXSharedDXSceneResource
        Ab3d.DirectXSceneNode
          Ab3d.DirectXObjectNode
            More

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public abstract class ObjectNode : SceneNode

The ObjectNode type exposes the following members.

Properties
 NameDescription
Public propertyCustomRenderingQueue Gets or sets a custom RenderingQueue that will contain the RenderablePrimitiveBase objects created by this ObjectNode. If CustomRenderingQueue is null, then the ObjectNode will be put into OtherGeometryRenderingQueue or TransparentRenderingQueue based on the material.
Public propertyIsAutomaticallyCollectingRenderableObjectsForChildNodes Gets or sets a Boolean that specifies if CollectRenderableObjects will be automatically called for all ChildNodes of this ObjectNode. Default value is true.
Top
Methods
 NameDescription
Public methodCollectRenderableObjects 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.)
Public methodGetDetailsText Returns string that tells details about this SceneNode
(Overrides SceneNodeGetDetailsText(Boolean, Boolean, Boolean, Boolean, Boolean))
Top
Extension Methods
 NameDescription
Public Extension MethodGetGeometryModel3D 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)
Public Extension MethodGetModel3D 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)
Public Extension MethodGetModelVisual3D 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)
Public Extension MethodGetVisual3D 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)
Top
See Also
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXSharedDXResource
      Ab3d.DirectXSharedDXSceneResource
        Ab3d.DirectXSceneNode
          Ab3d.DirectXObjectNode
            Ab3d.DirectXCustomRenderableNode
            Ab3d.DirectXInstancedMeshNode
            Ab3d.DirectXMeshObjectNode
            Ab3d.DirectX.ModelsBaseWpfObjectNode
            Ab3d.DirectX.ModelsInstancedTextNode
            Ab3d.DirectXScreenSpaceLineNode