Click or drag to resize
AB4D logo

ExtensionsSetUsedDXMeshGeometry3D 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: 7.0.8865.1045
Syntax
C#
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