WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
AnimationPanel::DrawContext Struct Reference

Per-frame context passed by the caller so the panel never touches globals. More...

#include <AnimationPanel.h>

Public Attributes

std::function< WoWModel *()> getLoadedModel
 
std::vector< AnimEntry > * animEntries = nullptr
 
int * selectedAnimCombo = nullptr
 
float * animSpeed = nullptr
 
int * loopCount = nullptr
 
bool * lockAnims = nullptr
 
int * selectedSecondaryAnim = nullptr
 
int * selectedMouthAnim = nullptr
 
float * mouthSpeed = nullptr
 
std::vector< SkinEntry > * skinEntries = nullptr
 
int * selectedSkin = nullptr
 
int blpSkin [3] = {-1, -1, -1}
 
std::function< void(WoWModel *, int)> applySkin
 

Detailed Description

Per-frame context passed by the caller so the panel never touches globals.

Definition at line 33 of file AnimationPanel.h.

Member Data Documentation

◆ animEntries

std::vector<AnimEntry>* AnimationPanel::DrawContext::animEntries = nullptr

Definition at line 39 of file AnimationPanel.h.

◆ animSpeed

float* AnimationPanel::DrawContext::animSpeed = nullptr

Definition at line 41 of file AnimationPanel.h.

◆ applySkin

std::function<void(WoWModel*, int)> AnimationPanel::DrawContext::applySkin

Definition at line 52 of file AnimationPanel.h.

◆ blpSkin

int AnimationPanel::DrawContext::blpSkin[3] = {-1, -1, -1}

Definition at line 51 of file AnimationPanel.h.

◆ getLoadedModel

std::function<WoWModel*()> AnimationPanel::DrawContext::getLoadedModel

Definition at line 36 of file AnimationPanel.h.

◆ lockAnims

bool* AnimationPanel::DrawContext::lockAnims = nullptr

Definition at line 43 of file AnimationPanel.h.

◆ loopCount

int* AnimationPanel::DrawContext::loopCount = nullptr

Definition at line 42 of file AnimationPanel.h.

◆ mouthSpeed

float* AnimationPanel::DrawContext::mouthSpeed = nullptr

Definition at line 46 of file AnimationPanel.h.

◆ selectedAnimCombo

int* AnimationPanel::DrawContext::selectedAnimCombo = nullptr

Definition at line 40 of file AnimationPanel.h.

◆ selectedMouthAnim

int* AnimationPanel::DrawContext::selectedMouthAnim = nullptr

Definition at line 45 of file AnimationPanel.h.

◆ selectedSecondaryAnim

int* AnimationPanel::DrawContext::selectedSecondaryAnim = nullptr

Definition at line 44 of file AnimationPanel.h.

◆ selectedSkin

int* AnimationPanel::DrawContext::selectedSkin = nullptr

Definition at line 50 of file AnimationPanel.h.

◆ skinEntries

std::vector<SkinEntry>* AnimationPanel::DrawContext::skinEntries = nullptr

Definition at line 49 of file AnimationPanel.h.


The documentation for this struct was generated from the following file: