Panda3D
Public Member Functions | List of all members
ColorInterpolationManager Class Reference
Inheritance diagram for ColorInterpolationManager:
ReferenceCount

Public Member Functions

 __init__ ()
 
 __init__ (const ColorInterpolationManager copy)
 
 __init__ (const LColor c)
 
int addConstant (const float time_begin, const float time_end, const LColor color, const bool is_modulated)
 
int addLinear (const float time_begin, const float time_end, const LColor color_a, const LColor color_b, const bool is_modulated)
 
int addSinusoid (const float time_begin, const float time_end, const LColor color_a, const LColor color_b, const float period, const bool is_modulated)
 
int addStepwave (const float time_begin, const float time_end, const LColor color_a, const LColor color_b, const float width_a, const float width_b, const bool is_modulated)
 
 clearSegment (const int seg_id)
 
 clearToInitial ()
 
ColorInterpolationSegment getSegment (const int seg_id)
 
str getSegmentIdList ()
 
 setDefaultColor (const LColor c)
 
- Public Member Functions inherited from ReferenceCount
int getRefCount ()
 Returns the current reference count. More...
 
 ref ()
 Explicitly increments the reference count. More...
 
bool testRefCountIntegrity ()
 Does some easy checks to make sure that the reference count isn't completely bogus. More...
 
bool testRefCountNonzero ()
 Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More...
 
bool unref ()
 Explicitly decrements the reference count. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ReferenceCount
static TypeHandle getClassType ()
 
- Public Attributes inherited from ReferenceCount
int ref_count
 The current reference count. More...
 

Member Function Documentation

◆ __init__() [1/3]

__init__ ( )

◆ __init__() [2/3]

__init__ ( const ColorInterpolationManager  copy)

◆ __init__() [3/3]

__init__ ( const LColor  c)

◆ addConstant()

int addConstant ( const float  time_begin,
const float  time_end,
const LColor  color,
const bool  is_modulated 
)

◆ addLinear()

int addLinear ( const float  time_begin,
const float  time_end,
const LColor  color_a,
const LColor  color_b,
const bool  is_modulated 
)

◆ addSinusoid()

int addSinusoid ( const float  time_begin,
const float  time_end,
const LColor  color_a,
const LColor  color_b,
const float  period,
const bool  is_modulated 
)

◆ addStepwave()

int addStepwave ( const float  time_begin,
const float  time_end,
const LColor  color_a,
const LColor  color_b,
const float  width_a,
const float  width_b,
const bool  is_modulated 
)

◆ clearSegment()

clearSegment ( const int  seg_id)

◆ clearToInitial()

clearToInitial ( )

◆ getSegment()

ColorInterpolationSegment getSegment ( const int  seg_id)

◆ getSegmentIdList()

str getSegmentIdList ( )

◆ setDefaultColor()

setDefaultColor ( const LColor  c)