XII Release 0.1.0
Loading...
Searching...
No Matches
xiiColorGradientAssetData Class Reference
Inheritance diagram for xiiColorGradientAssetData:
[legend]

Public Member Functions

void FillGradientData (xiiColorGradient &out_result) const
 Fills out the xiiColorGradient 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.
 
xiiColor Evaluate (xiiInt64 iTick) const
 
- Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T>
XII_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 xiiInt64 TickFromTime (xiiTime time)
 
- Static Public Member Functions inherited from xiiNoBase
static const xiiRTTIGetStaticRTTI ()
 

Public Attributes

xiiDynamicArray< xiiColorControlPointm_ColorCPs
 
xiiDynamicArray< xiiAlphaControlPointm_AlphaCPs
 
xiiDynamicArray< xiiIntensityControlPointm_IntensityCPs
 

Member Function Documentation

◆ TickFromTime()

xiiInt64 xiiColorGradientAssetData::TickFromTime ( xiiTime time)
static
Todo
Make this a property ?

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