|
ExtensionsSetUsedDXMeshGeometry3D Method |
Sets a DXMeshGeometry3D that will be used when showing WPF MeshGeometry3D in DXEngine.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax public static void SetUsedDXMeshGeometry3D(
this MeshGeometry3D wpfMeshGeometry,
DXMeshGeometry3D dXMeshGeometry3D,
DXDevice parentDXDevice
)
Parameters
- wpfMeshGeometry MeshGeometry3D
- WPF MeshGeometry3D
- dXMeshGeometry3D DXMeshGeometry3D
- DXMeshGeometry3D
- parentDXDevice DXDevice
- 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