resonance 1.0.1
Loading...
Searching...
No Matches
Rnd::MatAnim::Stage::TexKey Class Reference

One keyframe of the texture channel of a stage. More...

#include <matanim.h>

Collaboration diagram for Rnd::MatAnim::Stage::TexKey:

Public Member Functions

bool operator< (const TexKey &other) const
 Order two keys by frame, which is what std::list::sort() compares.

Public Attributes

Tex * mValue
float mFrame

Detailed Description

One keyframe of the texture channel of a stage.

The record is 8 bytes. The reference walk at 0x004d3750 takes a reference on list node +0x08, which is the payload of an 8-byte element, and the end-frame walk at 0x004d42f0 reads the frame at node +0x0c. The title is inferred on the same basis as Rnd::ColorKey.

Member Function Documentation

◆ operator<()

bool Rnd::MatAnim::Stage::TexKey::operator< ( const TexKey & other) const
inline

Order two keys by frame, which is what std::list::sort() compares.

The merge at 0x004da2e8 loads the frame at node +0x0c of both keys. The body is inlined into it.

Parameters
otherThe key to compare with.
Returns
True when this key comes first.

Member Data Documentation

◆ mValue

Tex* Rnd::MatAnim::Stage::TexKey::mValue

Texture the frame switches to. +0x00

◆ mFrame

float Rnd::MatAnim::Stage::TexKey::mFrame

Frame the texture applies at. +0x04


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