Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::animation_system Class Reference

#include <animation_system.h>

Public Member Functions

auto init (rtti::context &ctx) -> bool
 
auto deinit (rtti::context &ctx) -> bool
 
void on_frame_update (scene &scn, delta_t dt)
 Updates the physics system for each frame.
 
void on_play_begin (hpp::span< const entt::handle > entities, delta_t dt)
 

Static Public Member Functions

static void on_create_component (entt::registry &r, entt::entity e)
 Called when the component is created.
 
static void on_destroy_component (entt::registry &r, entt::entity e)
 Called when the component is destroyed.
 

Detailed Description

Definition at line 10 of file animation_system.h.

Member Function Documentation

◆ deinit()

auto unravel::animation_system::deinit ( rtti::context & ctx) -> bool

Definition at line 50 of file animation_system.cpp.

◆ init()

auto unravel::animation_system::init ( rtti::context & ctx) -> bool

Definition at line 36 of file animation_system.cpp.

◆ on_create_component()

void unravel::animation_system::on_create_component ( entt::registry & r,
entt::entity e )
static

Called when the component is created.

Parameters
rThe registry containing the component.
eThe entity associated with the component.

Definition at line 57 of file animation_system.cpp.

◆ on_destroy_component()

void unravel::animation_system::on_destroy_component ( entt::registry & r,
entt::entity e )
static

Called when the component is destroyed.

Parameters
rThe registry containing the component.
eThe entity associated with the component.

Definition at line 62 of file animation_system.cpp.

◆ on_frame_update()

void unravel::animation_system::on_frame_update ( scene & scn,
delta_t dt )

Updates the physics system for each frame.

Parameters
ctxThe context for the update.
dtThe delta time for the frame.

Definition at line 265 of file animation_system.cpp.

◆ on_play_begin()

void unravel::animation_system::on_play_begin ( hpp::span< const entt::handle > entities,
delta_t dt )

Definition at line 81 of file animation_system.cpp.


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