Click or drag to resize
AB4D logo

WpfModelVisual3DNodeIsCheckingChildrenForChanges Field

Gets or sets a Boolean that specifies if on each Update call (on each WPF's Rendering event) WpfModelVisual3DNode is checking if ModelVisual3D.Children has changed. By default all checking is disabled for all objects derived from the Ab3d.Visuals.BaseModelVisual3D (BoxVisual3D, SphereVisual3D, etc.).

Namespace: Ab3d.DirectX.Models
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax
C#
public bool IsCheckingChildrenForChanges

Field Value

Boolean
Remarks

IsCheckingChildrenForChanges gets or sets a Boolean that specifies if on each Update call (on each WPF's Rendering event) WpfModelVisual3DNode is checking if ModelVisual3D.Children has changed.

WPF does not provide any event or notification when the ModelVisual3D.Children collection is changed. Therefore WpfModelVisual3DNode needs to manually check for Children changes on each WPF's rendering event.

When there are a lot of ModelVisual3D objects in the scene (for example many Ab3d.Visuals.BoxVisual3D objects), checking for Childen collection changes can take long time and can significantly reduce frame rate.

By default IsCheckingChildrenForChanges is set to true except for all objects derived from the the Ab3d.Visuals.BaseModelVisual3D (BoxVisual3D, SphereVisual3D, etc.).

This property is similar to the IsCheckingChildrenForChanges property on WpfModel3DGroupNode.

See Also