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

Public Member Functions

 __init__ (ColorInterpolationFunction function, float time_begin, float time_end, bool is_modulated, int id)
 
 __init__ (const ColorInterpolationSegment s)
 
TypedReferenceCount getFunction ()
 INLINE ColorInterpolationFunction* get_function() const;. More...
 
int getId ()
 
float getTimeBegin ()
 
float getTimeEnd ()
 
bool isEnabled ()
 
bool isModulated ()
 
 setEnabled (bool enabled)
 
 setFunction (ColorInterpolationFunction function)
 
 setIsModulated (bool flag)
 
 setTimeBegin (float time)
 
 setTimeEnd (float time)
 
- Public Member Functions inherited from ReferenceCount
int getRefCount ()
 Returns the current reference count. More...
 
 ref ()
 Explicitly increments the reference count. User code should avoid using ref() and unref() directly, which can result in missed reference counts. Instead, let a PointerTo object manage the reference counting automatically. More...
 
bool testRefCountIntegrity ()
 Does some easy checks to make sure that the reference count isn't completely bogus. Returns true if ok, false otherwise. More...
 
bool testRefCountNonzero ()
 Does some easy checks to make sure that the reference count isn't zero, or completely bogus. Returns true if ok, false otherwise. More...
 
bool unref ()
 Explicitly decrements the reference count. Note that the object will not be implicitly deleted by unref() simply because the reference count drops to zero. (Having a member function delete itself is problematic.) However, see the helper function unref_delete(). More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ReferenceCount
static TypeHandle getClassType ()
 

Member Function Documentation

◆ __init__() [1/2]

__init__ ( ColorInterpolationFunction  function,
float  time_begin,
float  time_end,
bool  is_modulated,
int  id 
)

◆ __init__() [2/2]

__init__ ( const ColorInterpolationSegment  s)

◆ getFunction()

TypedReferenceCount getFunction ( )

INLINE ColorInterpolationFunction* get_function() const;.

◆ getId()

int getId ( )

◆ getTimeBegin()

float getTimeBegin ( )

◆ getTimeEnd()

float getTimeEnd ( )

◆ isEnabled()

bool isEnabled ( )

◆ isModulated()

bool isModulated ( )

◆ setEnabled()

setEnabled ( bool  enabled)

◆ setFunction()

setFunction ( ColorInterpolationFunction  function)

◆ setIsModulated()

setIsModulated ( bool  flag)

◆ setTimeBegin()

setTimeBegin ( float  time)

◆ setTimeEnd()

setTimeEnd ( float  time)