Click or drag to resize
AB4D logo

WpfModel3DGroupNodeIsCheckingChildrenForChanges Field

Gets or sets a Boolean that specifies if on each Update call (on each WPF's Rendering event) WpfModel3DGroupNode is checking if fModel3DGroup.Children has changed. Default value is true.

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) WpfModel3DGroupNode is checking if fModel3DGroup.Children has changed.

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

When there are a lot of Model3DGroup objects in the scene and they are not changed, then setting IsCheckingChildrenForChanges to false improves Update performance.

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

Default value is true.

This property is similar to the IsCheckingChildrenForChanges property on WpfModelVisual3DNode.

See Also