Wpf |
public class WpfVisual3DCollectionNode : BaseWpfObjectNode
The WpfVisual3DCollectionNode type exposes the following members.
Name | Description | |
---|---|---|
WpfVisual3DCollectionNode(Visual3DCollection, String) | Initializes a new instance of the WpfVisual3DCollectionNode class. | |
WpfVisual3DCollectionNode(Visual3DCollection, DictionaryObject, String, String, Effect) | Initializes a new instance of the WpfVisual3DCollectionNode class. | |
WpfVisual3DCollectionNode(Visual3DCollection, DictionaryString, Object, String, Effect) | Initializes a new instance of the WpfVisual3DCollectionNode class. |
Name | Description | |
---|---|---|
IsCheckingForChanges | Gets or sets a Boolean that specifies if WpfVisual3DCollectionNode is automatically checking for changes in the Visuals (Visual3DCollection). When true (by default), then in each Update call the Visual3DCollection is checked for changes. When false, then user should call NotifyChanges(ListVisual3D, ListVisual3D) method when the Visual3DCollection is changed. It is recommended to set this property before the InitializeResources is called (before this SceneNodes is added to parent SceneNode). | |
MaterialEffect | Gets or sets the Effect that will render this WpfGeometryModel3DNode. If null, a standard effect will be used (effect set in EffectsManager as standard effect) | |
Visuals | Gets the WPF's Visual3DCollection that is used to initialize this WpfVisual3DCollectionNode |
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) | |
NotifyChanges | NotifyChanges method should be called when IsCheckingForChanges is set to false and it informs this WpfVisual3DCollectionNode about the changes in the Visual3DCollection. If both parameters are null, then all the child SceneNodes are recreated. | |
Update |
Update method is called on each update phase (before render phase)
(Overrides SceneNodeUpdate) |
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) |