Plasma Engine  2.0
Loading...
Searching...
No Matches
plColorGradientAssetData Class Reference
Inheritance diagram for plColorGradientAssetData:

Public Member Functions

void FillGradientData (plColorGradient &out_result) const
 Fills out the plColorGradient structure with an exact copy of the data in the asset. Does NOT yet sort the control points, so before evaluating the color gradient, that must be called manually.
 
plColor Evaluate (plInt64 iTick) const
 
- Public Member Functions inherited from plReflectedClass
virtual const plRTTI * GetDynamicRTTI () const
 
bool IsInstanceOf (const plRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
PL_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Static Public Member Functions

static plInt64 TickFromTime (plTime time)
 
- Static Public Member Functions inherited from plNoBase
static const plRTTI * GetStaticRTTI ()
 

Public Attributes

plDynamicArray< plColorControlPoint > m_ColorCPs
 
plDynamicArray< plAlphaControlPoint > m_AlphaCPs
 
plDynamicArray< plIntensityControlPoint > m_IntensityCPs
 

Member Function Documentation

◆ TickFromTime()

plInt64 plColorGradientAssetData::TickFromTime ( plTime time)
static
Todo
Make this a property ?

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