Click or drag to resize
AB4D logo

ExtensionsGetModel3D Method

Returns a WPF's Model3D that was used to create the specified sceneNode. If the sceneNode does not define a Model3D object, then null is returned.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public static Model3D GetModel3D(
	this SceneNode sceneNode
)

Parameters

sceneNode  SceneNode
SceneNode

Return Value

Model3D
Model3D or null

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SceneNode. 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