resonance 1.0.1
Loading...
Searching...
No Matches
TnlPointer::MeshPair Class Reference

Icon and base mesh of one instrument kind, 8 bytes. More...

#include <tnlpointer.h>

Collaboration diagram for TnlPointer::MeshPair:

Public Member Functions

void Init (const HxStr &iconName, const HxStr &baseName)
 Resolve both meshes.
void SetShowing (int nShowing)
 Show or hide both meshes.
void SetAlpha (float flAlpha)
 Set the alpha of the icon mesh's material.

Public Attributes

Rnd::Mesh * mIcon
Rnd::Mesh * mBase

Detailed Description

Icon and base mesh of one instrument kind, 8 bytes.

The structure emits no RTTI. The name is inferred.

Member Function Documentation

◆ Init()

void TnlPointer::MeshPair::Init ( const HxStr & iconName,
const HxStr & baseName )

Resolve both meshes.

The image has no caller. The constructor inlines the body.

Parameters
iconNameThe icon mesh.
baseNameThe base mesh.
Ghidra address:
NTSC-U/C: 0x00455508
Ghidra address:
PAL: 0x00492a38

◆ SetShowing()

void TnlPointer::MeshPair::SetShowing ( int nShowing)

Show or hide both meshes.

The image has no caller. SetKind() inlines the body.

Parameters
nShowingNon-zero to show.
Ghidra address:
NTSC-U/C: 0x004555e0
Ghidra address:
PAL: 0x00492b10

◆ SetAlpha()

void TnlPointer::MeshPair::SetAlpha ( float flAlpha)

Set the alpha of the icon mesh's material.

The image has no caller. SetAlpha() inlines the body.

Parameters
flAlphaThe alpha.
Ghidra address:
NTSC-U/C: 0x00455640
Ghidra address:
PAL: 0x00492b70

Member Data Documentation

◆ mIcon

Rnd::Mesh* TnlPointer::MeshPair::mIcon

"ptr_<c>_axe.mesh", "ptr_<c>_scratch.mesh", or "ptr_<c>_vox.mesh".

◆ mBase

Rnd::Mesh* TnlPointer::MeshPair::mBase

"ptr_<c>_plate.mesh", or "ptr_<c>_tgt.mesh" for the voice pair.


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