Panda3D
Public Member Functions | Static Public Member Functions
EggSwitchCondition Class Reference

This corresponds to a <SwitchCondition> entry within a group. More...

#include "eggSwitchCondition.h"

Inheritance diagram for EggSwitchCondition:
EggObject TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase EggSwitchConditionDistance

List of all members.

Public Member Functions

virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
virtual EggSwitchConditionmake_copy () const =0
virtual void transform (const LMatrix4d &mat)=0
virtual void write (ostream &out, int indent_level) const =0

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.

Detailed Description

This corresponds to a <SwitchCondition> entry within a group.

It indicates the condition at which a level-of-detail is switched in or out. This is actually an abstract base class for potentially any number of specific different kinds of switching conditions; presently, only a <Distance> type is actually supported.

Definition at line 33 of file eggSwitchCondition.h.


Member Function Documentation

static void EggSwitchCondition::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from EggObject.

Reimplemented in EggSwitchConditionDistance.

Definition at line 46 of file eggSwitchCondition.h.

References EggObject::init_type().

Referenced by EggSwitchConditionDistance::init_type().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations