Panda3D
 All Classes Functions Variables Enumerations
Public Member Functions | Public Attributes | List of all members
ColladaLoader Class Reference

Object that interfaces with the COLLADA DOM library and loads the COLLADA structures into Panda nodes. More...

#include "colladaLoader.h"

Public Member Functions

void build_graph ()
 Converts scene graph structures into a Panda3D scene graph, with _root being the root node. More...
 
 PT (ModelRoot) _root
 
bool read (const Filename &filename)
 Reads from the indicated file. More...
 

Public Attributes

CoordinateSystem _cs
 
bool _error
 
Filename _filename
 
BamCacheRecord_record
 

Detailed Description

Object that interfaces with the COLLADA DOM library and loads the COLLADA structures into Panda nodes.

Definition at line 48 of file colladaLoader.h.

Member Function Documentation

void ColladaLoader::build_graph ( )

Converts scene graph structures into a Panda3D scene graph, with _root being the root node.

Definition at line 104 of file colladaLoader.cxx.

References Filename::get_basename().

bool ColladaLoader::read ( const Filename filename)

Reads from the indicated file.

Definition at line 80 of file colladaLoader.cxx.

References VirtualFileSystem::get_global_ptr(), VirtualFileSystem::read_file(), and Filename::to_os_specific().


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