UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
modelInfo_t Struct Reference

#include <cl_renderer.h>

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

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().

float* modelInfo_t::center
int modelInfo_t::frame
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().

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().

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().

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().


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