Orbit camera that revolves around a target point.
Core WoW .m2 model: geometry, animation, textures, and character data.
void draw(DrawContext &ctx)
Draw the Viewport Options panel contents (call between Begin / End).
Per-frame context for the viewport options panel.
std::function< void(WoWModel *, int)> applySkin
std::function< WoWModel *()> getLoadedModel
std::vector< GeosetGroupEntry > * geosetGroups
std::function< void()> resetCamera
ParticleColorState * pcrState
Single geoset entry referencing a model geoset by index and id.
std::string label
Human-readable label for the geoset.
size_t index
Index into model->geosets[].
A named group of geosets sharing the same mesh id.
std::string name
Display name for the group.
std::vector< GeosetEntry > geosets
Geosets belonging to this group.
size_t meshId
Shared mesh id for geosets in this group.
Editable state for particle colour replacement (colour IDs 11, 12, 13).
bool enabled
Whether particle colour replacement is active.
float colors[3][3][3]
Colour values [set 0..2 for IDs 11,12,13][phase 0..2][r/g/b].
bool hasSet[3]
Which colour IDs (11, 12, 13) are present in the model.