ezEngine  Release 25.03
ezColorGradientAssetData Class Reference
Inheritance diagram for ezColorGradientAssetData:

Public Member Functions

void FillGradientData (ezColorGradient &out_result) const
 Fills out the ezColorGradient 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.
 
ezColor Evaluate (ezInt64 iTick) const
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_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 ezInt64 TickFromTime (ezTime time)
 
- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Public Attributes

ezDynamicArray< ezColorControlPointm_ColorCPs
 
ezDynamicArray< ezAlphaControlPointm_AlphaCPs
 
ezDynamicArray< ezIntensityControlPointm_IntensityCPs
 

Member Function Documentation

◆ TickFromTime()

ezInt64 ezColorGradientAssetData::TickFromTime ( ezTime  time)
static
Todo:
Make this a property ?

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