EditorPlugin::PreprocessEditorPlugin
Defined in:
Preprocesses a plugin for a new editor window.
C4EditorPlugins.h
Prototype
virtual void PreprocessEditorPlugin(Editor *editor);
Parameters
editor |
A pointer to a fully initialized World Editor window. |
Description
The PreprocessEditorPlugin
function is called for each World Editor plugin after an editor window has been opened, the world data has been loaded, and all components of the editor window have been fully initialized. The plugin can do anything that it needs to do in order to be used with the window, and it may access any part of the scene structure.Note that custom editor pages should not be created in the
PreprocessEditorPlugin
function. Pages should instead be created and added to the editor window in the EditorPlugin::InitializeEditorPlugin
function.The default implementation of the
PreprocessEditorPlugin
function does nothing.
See Also