Click or drag to resize
AB4D logo

ExtensionsToBoundingBox Method

Converts WPF Rect3D to SharpDX BoundingBox

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public static BoundingBox ToBoundingBox(
	this Rect3D bounds
)

Parameters

bounds  Rect3D
WPF Rect3D

Return Value

BoundingBox
SharpDX BoundingBox

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Rect3D. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also