Scene |
public static class SceneNodeFactory
The SceneNodeFactory type exposes the following members.
Name | Description | |
---|---|---|
CreateFromModel3D | Creates a SceneNode from the specified WPF's Model3D. | |
CreateFromVisual3D | Creates a SceneNode from the specified WPF's Visual3D. | |
RegisterModel3DToSceneNodeCreator | 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. | |
RegisterVisual3DToSceneNodeCreator | 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. | |
UnregisterAllModel3DToSceneNodeCreators | Clears all registered Model3D creators. | |
UnregisterAllVisual3DToSceneNodeCreators | Clears all registered Visual3D creators. | |
UnRegisterModel3DToSceneNodeCreator | UnRegisterVisual3DToSceneNodeCreator removes the visual3DType from the registered creators. | |
UnRegisterVisual3DToSceneNodeCreator | UnRegisterVisual3DToSceneNodeCreator removes the visual3DType from the registered creators. |