group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
AnimationTesterUI.cpp File Reference

ImGui panel for driving the animation state machine in development. More...

#include "AnimationTesterUI.hpp"
#include "AnimationLibrary.hpp"
#include "CharacterAnimator.hpp"
#include "ecs/components/AnimatedCharacter.hpp"
#include "ecs/components/LocalPlayer.hpp"
#include <SDL3/SDL_stdinc.h>
#include <cstdio>
#include <imgui.h>
#include <string>
#include <vector>
Include dependency graph for AnimationTesterUI.cpp:

Functions

void buildAnimationTesterUI (AnimationTesterState &state, entt::registry &registry, float &rigScale, float &rigVerticalOffset)
 Build the Animation Tester ImGui window.

Detailed Description

ImGui panel for driving the animation state machine in development.

Function Documentation

◆ buildAnimationTesterUI()

void buildAnimationTesterUI ( AnimationTesterState & state,
entt::registry & registry,
float & rigScale,
float & rigVerticalOffset )

Build the Animation Tester ImGui window.

Parameters
statePersistent UI state.
registryECS registry (queried for AnimatedCharacter entities).
rigScaleRenderable scale tunable (read/write).
rigVerticalOffsetRenderable Y translation tunable (read/write).

< -1 = local player sentinel, else entt::entity raw value.

Here is the call graph for this function: