Ocular Engine
Ocular::Core::SceneObjectSaver Class Reference

Static Public Member Functions

static bool Save (SceneObject *object, File const &file)
 
static bool Save (SceneObject *object, Node_Internal *node)
 

Static Protected Member Functions

static bool IsValidFile (File const &file)
 

Member Function Documentation

bool Ocular::Core::SceneObjectSaver::Save ( SceneObject object,
File const &  file 
)
static

Attempts to the load the SceneObject from the specified .opre file.

Parameters
[in]object
[in]file
Returns
TRUE if saved successfully, else FALSE.
bool Ocular::Core::SceneObjectSaver::Save ( SceneObject object,
Node_Internal node 
)
static

Attempts to the save the SceneObject to the provided node.

Note
This is generally for internal use only by other savers (ie SceneSaver)
Parameters
[in]object
[in]node
Returns
TRUE if saved successfully, else FALSE.

The documentation for this class was generated from the following files: