Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MaxToEggConverter Class Reference

This class supervises the construction of an EggData structure from a Max model. More...

#include "maxToEggConverter.h"

Public Member Functions

bool convert (MaxEggOptions *options)
 Fills up the egg_data structure according to the global Max model data.
 
Modifier * FindSkinModifier (INode *node, const Class_ID &type)
 

Detailed Description

This class supervises the construction of an EggData structure from a Max model.

Definition at line 38 of file maxToEggConverter.h.

Constructor & Destructor Documentation

◆ MaxToEggConverter()

MaxToEggConverter::MaxToEggConverter ( )

Definition at line 35 of file maxToEggConverter.cxx.

◆ ~MaxToEggConverter()

MaxToEggConverter::~MaxToEggConverter ( )

Definition at line 44 of file maxToEggConverter.cxx.

Member Function Documentation

◆ convert()

bool MaxToEggConverter::convert ( MaxEggOptions * options)

Fills up the egg_data structure according to the global Max model data.

Returns true if successful, false if there is an error. If from_selection is true, the converted geometry is based on that which is selected; otherwise, it is the entire Max scene.

Definition at line 65 of file maxToEggConverter.cxx.

References MaxNodeTree::build_complete_hierarchy(), Filename::get_dirname(), and EggData::set_coordinate_system.

◆ FindSkinModifier()

Modifier * MaxToEggConverter::FindSkinModifier ( INode * node,
const Class_ID & type )

Definition at line 1389 of file maxToEggConverter.cxx.


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