#include <ColladaManager.h>
◆ FileType
◆ CColladaManager()
CColladaManager::CColladaManager |
( |
const PIVFS & |
vfs | ) |
|
◆ ~CColladaManager()
CColladaManager::~CColladaManager |
( |
| ) |
|
◆ GenerateCachedFile()
bool CColladaManager::GenerateCachedFile |
( |
const VfsPath & |
sourcePath, |
|
|
FileType |
type, |
|
|
VfsPath & |
archiveCachePath |
|
) |
| |
Converts DAE to archive cached .pmd/psa and outputs the resulting path (used by archive builder)
- Parameters
-
[in] | sourcePath | path of the .dae to load |
[in] | type | FileType, .pmd or .psa |
[out] | archiveCachePath | output path of the cached file |
- Returns
- true if COLLADA converter completed successfully; or false if it failed
◆ GetLoadablePath()
Returns the VFS path to a PMD/PSA file for the given source file.
Performs a (cached) conversion from COLLADA if necessary.
- Parameters
-
pathnameNoExtension | path and name, minus extension, of file to load. One of either "sourceName.pmd" or "sourceName.dae" should exist. |
type | FileType, .pmd or .psa |
- Returns
- full VFS path (including extension) of file to load; or empty string if there was a problem and it could not be loaded. Doesn't knowingly return an invalid path.
◆ NONCOPYABLE()
◆ m_VFS
PIVFS CColladaManager::m_VFS |
|
private |
The documentation for this class was generated from the following files: