 |
ExtentionsSetUsedDXMeshGeometry3D Method |
Sets a DXMeshGeometry3D that will be used when showing WPF MeshGeometry3D in DXEngine.
Namespace:
Ab3d.DirectX
Assembly:
Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 4.2.7697.1045
Syntaxpublic static void SetUsedDXMeshGeometry3D(
this MeshGeometry3D wpfMeshGeometry,
DXMeshGeometry3D dXMeshGeometry3D,
DXDevice parentDXDevice
)
Parameters
- wpfMeshGeometry
- Type: System.Windows.Media.Media3DMeshGeometry3D
WPF MeshGeometry3D - dXMeshGeometry3D
- Type: Ab3d.DirectX.ModelsDXMeshGeometry3D
DXMeshGeometry3D - parentDXDevice
- Type: Ab3d.DirectXDXDevice
DXDevice that was used to generate the dxMaterial - this parameted can be null when the dxMaterial was already initialized (in this case the parentDXDevice is get from the dxMaterial)
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