Class TransformAnimationComponent¶
Defined in File transform_animation_component.h
Nested Relationships¶
Nested Types¶
Inheritance Relationships¶
Base Type¶
public Component(Class Component)
Class Documentation¶
-
class
TransformAnimationComponent: public Component¶ Manages animations based on provided keyframes.
Public Types
Public Functions
-
~TransformAnimationComponent()¶
-
void
popKeyframe(int count)¶
-
bool
isPlaying() const¶
-
bool
isPlayOnStart() const¶
-
bool
hasEnded() const¶
-
float
getStartTime() const¶
-
float
getEndTime() const¶
-
void
reset()¶
-
void
interpolate(float t)¶
-
void
setPlaying(bool enabled)¶
-
bool
setupData()¶ Perform setting up internal data needed from other components after they have been added to the owning entity.
-
JSON::json
getJSON() const¶ Get JSON representation of the component data needed to re-construct component from memory.
-
void
draw()¶ Expose the component data with ImGui.
-
struct
Keyframe¶
-