resonance 1.0.1
Loading...
Searching...
No Matches
Rnd::ColorKey Struct Reference

One keyframe of a colour channel. More...

#include <keychannel.h>

Collaboration diagram for Rnd::ColorKey:

Public Attributes

Color mValue
float mFrame

Detailed Description

One keyframe of a colour channel.

The record is 0x20 bytes and three independent readings agree on it. The list constructor at 0x004ddc48 passes 0x20 as the element size and allocates a 0x30-byte node from slot +0x14 of the node pool at 0x00667080. The copy assignment at 0x004d9aa0 moves the quadwords at node +0x10 and node +0x20, which places a 0x20-byte payload at node +0x10. And Rnd::LightAnim::SetFrameSelf() loads a quadword from element +0x00 as the colour and a float from element +0x10 as the frame.

The 0xc bytes after mFrame are read by no instruction in the image. They are either the alignment a 16-byte-aligned element takes on or an unrecovered field, and nothing distinguishes the two.

The record is not polymorphic and emits no RTTI descriptor, so the title is inferred rather than recovered. Its member titles follow the element dump at 0x004d8c88, which writes "(frame:" ahead of mFrame and " value:" ahead of mValue, and they match the keyframe records Rnd::MeshAnim already recovered.

Member Data Documentation

◆ mValue

Color Rnd::ColorKey::mValue

Colour the frame interpolates towards. +0x00

◆ mFrame

float Rnd::ColorKey::mFrame

Frame the colour applies at. +0x10


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