 |
ExtentionsGetUsedDXMeshGeometry3D Method |
GetUsedDXMeshGeometry3D method checks if DXMeshGeometry3D object was already created for the specified meshGeometry and returns it in that case.
Else null is returned.
parentDXDevice is requireed to check if the created DXMeshGeometry3D was created for the same device.
Namespace:
Ab3d.DirectX
Assembly:
Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 4.2.7697.1045
Syntaxpublic static DXMeshGeometry3D GetUsedDXMeshGeometry3D(
this MeshGeometry3D meshGeometry,
DXDevice parentDXDevice
)
Parameters
- meshGeometry
- Type: System.Windows.Media.Media3DMeshGeometry3D
MeshGeometry3D used in WPF - parentDXDevice
- Type: Ab3d.DirectXDXDevice
DXDevice
Return Value
Type:
DXMeshGeometry3Dalready created DXMeshGeometry3D or null
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
MeshGeometry3D. 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