Click or drag to resize
AB4D logo

SceneNodeFactoryModel3DToSceneNodeCreatorDelegate Delegate

Model3DToSceneNodeCreatorDelegate is used by RegisterModel3DToSceneNodeCreator(SceneNodeFactoryModel3DToSceneNodeCreatorDelegate) and is called to convert Model3D into SceneNode.

Namespace: Ab3d.DirectX.Models
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax
C#
public delegate SceneNode Model3DToSceneNodeCreatorDelegate(
	Model3D model3D,
	Effect defaultMaterialEffect,
	DXScene parentDXScene,
	string name
)

Parameters

model3D  Model3D
Model3D to convert
defaultMaterialEffect  Effect
currently used default material effect
parentDXScene  DXScene
parent DXScene
name  String
name of the Visual3D

Return Value

SceneNode
created SceneNode or null to use default SceneNode creator
See Also