wavelength 1.0.0
Loading...
Searching...
No Matches
SpotLightFX::LightPos Class Reference

One spotlight, 0x60 bytes. More...

#include <spotlightfx.h>

Collaboration diagram for SpotLightFX::LightPos:

Static Public Member Functions

static bool Before (const LightPos &pos, float flTick)
 Report whether a light comes before a tick, the order of the list.

Public Attributes

float mTick
char mTrack
float mLateral
Transform mReserved10
int mSpotActive
std::list< Transform >::iterator mSpot
std::list< Transform >::iterator mGlow

Detailed Description

One spotlight, 0x60 bytes.

Member Function Documentation

◆ Before()

bool SpotLightFX::LightPos::Before ( const LightPos & pos,
float flTick )
inlinestatic

Report whether a light comes before a tick, the order of the list.

Parameters
posThe light.
flTickThe tick.
Returns
Whether the light is earlier.
Ghidra address:
NTSC-U/C: 0x003720e0
Ghidra address:
PAL: 0x003e0810

Member Data Documentation

◆ mTick

float SpotLightFX::LightPos::mTick

The tick of the gem lit.

◆ mTrack

char SpotLightFX::LightPos::mTrack

The track of the gem.

◆ mLateral

float SpotLightFX::LightPos::mLateral

The position across the track, 0 to 1.

◆ mReserved10

Transform SpotLightFX::LightPos::mReserved10

◆ mSpotActive

int SpotLightFX::LightPos::mSpotActive

Whether mSpot is an instance of mSpots.

◆ mSpot

std::list<Transform>::iterator SpotLightFX::LightPos::mSpot

The transform of the spotlight.

◆ mGlow

std::list<Transform>::iterator SpotLightFX::LightPos::mGlow

The transform of the glow.


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