Click or drag to resize
AB4D logo

WpfWireframeVisual3DNode Class

WpfWireframeVisual3DNode represents a Ab3d.PowerToys's WireframeVisual3D as a SceneNode. The WpfWireframeVisual3DNode is optimized to render the wireframe and solid objects with hardware created wireframe rendering.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXSharedDXResource
      Ab3d.DirectXSharedDXSceneResource
        Ab3d.DirectXSceneNode
          Ab3d.DirectXObjectNode
            Ab3d.DirectX.ModelsBaseWpfObjectNode
              Ab3d.DirectX.ModelsWpfWireframeVisual3DNode

Namespace: Ab3d.DirectX.Models
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public class WpfWireframeVisual3DNode : BaseWpfObjectNode

The WpfWireframeVisual3DNode type exposes the following members.

Constructors
 NameDescription
Public methodWpfWireframeVisual3DNode Constructor
Top
Properties
 NameDescription
Public propertyDepthBias Gets or sets a float that represents a depth bias - used to move the wireframe away from solid geometry to prevent partial hiding the 3D lines in the solid geometry.
Public propertyDynamicDepthDepthBiasFactor Gets or sets a float that represents a dynamic depth bias factor. See LineMaterial.DynamicDepthBiasFactor for more info.
Public propertyReadZBuffer Gets or sets a float that represents a depth bias - used to move the wireframe away from solid geometry to prevent partial hiding the 3D lines in the solid geometry.
Public propertyWireframeVisual3D Gets the WireframeVisual3D (as Visual3D) that is used to initialize this WpfWireframeVisual3DNode.
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.)
(Overrides ObjectNodeCollectRenderableObjects)
Public methodRecreateChildNodes RecreateChildNodes recreates the DXEngine objects used to render the WireframeVisual3D.
Public methodUpdate Update method is called on each update phase (before render phase)
(Overrides SceneNodeUpdate)
Public methodUpdateBounds 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))
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