Click or drag to resize
AB4D logo

SceneNodeFactoryCreateFromModel3D Method

Creates a SceneNode from the specified WPF's Model3D.

Namespace: Ab3d.DirectX.Models
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public static SceneNode CreateFromModel3D(
	Model3D model3D,
	Effect defaultMaterialEffect,
	DXScene parentDXScene,
	Dictionary<Object, string> objectNames = null,
	string name = null
)

Parameters

model3D  Model3D
Model3D to convert
defaultMaterialEffect  Effect
default Effect that is used by the created SceneNode
parentDXScene  DXScene
DXScene
objectNames  DictionaryObject, String  (Optional)
dictionary of object names
name  String  (Optional)
name of the created SceneNode

Return Value

SceneNode
SceneNode created from Model3D
Remarks

CreateFromModel3D method creates a SceneNode from the specified WPF's Model3D object.

The following SceneNodes can be created by CreateFromModel3D:

See Also