UFO: Alien Invasion
Loading...
Searching...
No Matches
modelInfo_t Struct Reference

#include <cl_renderer.h>

Collaboration diagram for modelInfo_t:
Collaboration graph

Data Fields

model_tmodel
const char * name
float * origin
float * angles
float * scale
float * center
int frame
int oldframe
float backlerp
int skin
int mesh
float * color

Detailed Description

Definition at line 57 of file cl_renderer.h.

Field Documentation

◆ angles

◆ backlerp

float modelInfo_t::backlerp

linear interpolation from previous frame

Definition at line 67 of file cl_renderer.h.

Referenced by R_DrawModelDirect(), R_DrawModelParticle(), UI_DrawModelNode(), and UI_DrawModelNodeWithUIModel().

◆ center

float* modelInfo_t::center

◆ color

◆ frame

int modelInfo_t::frame

◆ mesh

int modelInfo_t::mesh

which mesh?

Note
md2 models only have one mesh

Definition at line 70 of file cl_renderer.h.

Referenced by R_DrawModelDirect(), R_DrawModelParticle(), and UI_DrawModelNode().

◆ model

◆ name

const char* modelInfo_t::name

model path (resolved in the renderer on model loading time)

Definition at line 59 of file cl_renderer.h.

Referenced by R_Draw2DMapMarkers(), R_Draw3DMapMarkers(), R_DrawModelDirect(), R_DrawModelParticle(), UI_DrawItem(), UI_DrawModelNode(), and UI_DrawModelNodeWithUIModel().

◆ oldframe

int modelInfo_t::oldframe

animation frames

Definition at line 66 of file cl_renderer.h.

Referenced by R_DrawModelDirect(), R_DrawModelParticle(), UI_DrawModelNode(), and UI_DrawModelNodeWithUIModel().

◆ origin

◆ scale

float* modelInfo_t::scale

pointer to node/menumodel scale

Definition at line 63 of file cl_renderer.h.

Referenced by R_ModelAutoScale(), R_TransformModelDirect(), UI_DrawItem(), UI_DrawModelNode(), UI_DrawModelNodeWithUIModel(), and UI_InitModelInfoView().

◆ skin


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