Click or drag to resize
AB4D logo

SceneNodeFactoryVisual3DToSceneNodeCreatorDelegate Delegate

ConvertVisual3DToSceneNodeDelegate is used by RegisterVisual3DToSceneNodeCreator(Type, SceneNodeFactoryVisual3DToSceneNodeCreatorDelegate) and is called to convert registered Visual3D type 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 Visual3DToSceneNodeCreatorDelegate(
	Visual3D visual3D,
	Effect defaultMaterialEffect,
	DXScene parentDXScene,
	string name
)

Parameters

visual3D  Visual3D
Visual3D 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