|
ExtensionsGetUsedDXMeshGeometry3D 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.DirectXAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax public static DXMeshGeometry3D GetUsedDXMeshGeometry3D(
this MeshGeometry3D meshGeometry,
DXDevice parentDXDevice
)
Parameters
- meshGeometry MeshGeometry3D
- MeshGeometry3D used in WPF
- parentDXDevice DXDevice
- DXDevice
Return Value
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