Click or drag to resize
AB4D logo

MouseCameraControllerUseDXEngineHitTesting Field

UseDXEngineHitTesting specifies if DXEngine's hit testing is used when the Viewport3D is rendered with DXEngine. Hit testing in MouseCameraController is used when RotateAroundMousePosition property is set to true and determines the center of rotation. Default value is true, but if you set UseDXEngineHitTesting to false, then WPF hit testing is used even when rendered with DXEngine.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public bool UseDXEngineHitTesting

Field Value

Boolean
Remarks

UseDXEngineHitTesting specifies if DXEngine's hit testing is used when the Viewport3D is rendered with DXEngine.

Hit testing in MouseCameraController is used when RotateAroundMousePosition property is set to true and determines the center of rotation.

Default value is true, but if you set UseDXEngineHitTesting to false, then WPF hit testing is used even when rendered with DXEngine.

When DXEngine's hit testing is used, the hit testing can be much faster and can also find hit position on SceneNodes that are not created from WPF objects. When UseDXEngineHitTesting is false, then only 3D objects that are created from WPF 3D object are find find hit testing.

See Also