Chicane

Animator

Header
Includes/Chicane/Grid/Style/Animator.hpp
Namespace
Chicane::Grid::StyleAnimator

Types

NameValueDescription
Mask
Slots
std::array<std::size_tStylePropertyTable::COUNT>

Constructors

NameDescription
StyleAnimator()

Functions

AccessReturnModifierNameDescription
public
void
tick(
float inDeltaTime
)
public
void
tween(
const  float* inFrom
const  float* inTo
float inDuration
float inDelay
const  Drift::EasingCurve& inEasing
)
public
bool
const
hasTween()
public
bool
const
readTween(
float* outValues
)
public
void
stopTween()
public
void
stopTweens()
public
const  std::vector<StyleAnimatorTween>&
const
getTweens()
public
void
play(
const  Drift::Clip& inClip
)
public
bool
const
hasPlayer()
public
getPlayer()
public
const  Drift::Player*
const
getPlayer()
public
void
stopPlayer()
public
const  std::vector<StyleAnimatorTrack>&
const
getPlayerTracks()
public
void
stop()
public
bool
const
isIdle()
public
const
getDirty()
private
void
refreshDirty()

Members

AccessTypeModifierNameDescription
public
const  std::size_t
static, constexpr
INVALID_SLOT
private
m_active
private
m_slots
private
std::vector<StyleAnimatorTween>
m_tweens
private
m_player
private
std::vector<StyleAnimatorTrack>
m_playerTracks
private
bool
m_bHasPlayer
private
m_dirty