Click or drag to resize
AB4D logo

SceneNodeFactory Methods

The SceneNodeFactory type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateFromModel3D Creates a SceneNode from the specified WPF's Model3D.
Public methodStatic memberCreateFromVisual3D Creates a SceneNode from the specified WPF's Visual3D.
Public methodStatic memberRegisterModel3DToSceneNodeCreator RegisterModel3DToSceneNodeCreator registers a delegate that will be called for each Model3D that is used in the CreateFromModel3D(Model3D, Effect, DXScene, DictionaryObject, String, String) method. The delegate can be used to provide custom SceneNode from some Model3D objects. If the delegate return null, then the standard creator will be used.
Public methodStatic memberRegisterVisual3DToSceneNodeCreator RegisterVisual3DCreator registers a delegate that will be used to convert specified WPF Visual3D type into DXEngine's SceneNode. NOTE: The order in which the RegisterVisual3DCreator methods are called is important. Visual3D types that are registered later are checked first - this way it is possible to first register base types and than specific types.
Public methodStatic memberUnregisterAllModel3DToSceneNodeCreators Clears all registered Model3D creators.
Public methodStatic memberUnregisterAllVisual3DToSceneNodeCreators Clears all registered Visual3D creators.
Public methodStatic memberUnRegisterModel3DToSceneNodeCreator UnRegisterVisual3DToSceneNodeCreator removes the visual3DType from the registered creators.
Public methodStatic memberUnRegisterVisual3DToSceneNodeCreator UnRegisterVisual3DToSceneNodeCreator removes the visual3DType from the registered creators.
Top
See Also