Click or drag to resize
AB4D logo

BaseEventSource3DContainsVisual3D Method

Returns true if hitVisual is the same as oneVisual or if hitVisual is define as any child in oneVisual and its Children

Namespace:  Ab3d.Utilities
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 10.1.8147.1045
Syntax
C#
protected static bool ContainsVisual3D(
	Visual3D rootVisual,
	Visual3D hitVisual
)

Parameters

rootVisual
Type: System.Windows.Media.Media3DVisual3D
root visual to start seach
hitVisual
Type: System.Windows.Media.Media3DVisual3D
Visual3D to find

Return Value

Type: Boolean
true if hitVisual is found
See Also