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
xiiColor Evaluate (xiiInt64 iTick) const
Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTI * GetDynamicRTTI () 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 xiiRTTI * GetStaticRTTI ()

Public Attributes

xiiDynamicArray< xiiColorControlPoint > m_ColorCPs
xiiDynamicArray< xiiAlphaControlPoint > m_AlphaCPs
xiiDynamicArray< xiiIntensityControlPoint > m_IntensityCPs

Member Function Documentation

◆ FillGradientData()

void xiiColorGradientAssetData::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.

◆ TickFromTime()

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

The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/EditorPlugins/Assets/EditorPluginAssets/ColorGradientAsset/ColorGradientAsset.h
  • /home/runner/work/XII/XII/Source/EditorPlugins/Assets/EditorPluginAssets/ColorGradientAsset/ColorGradientAsset.cpp