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

#include <r_model_alias.h>

Data Fields

char name [MODEL_MAX_PATH]
 
mAliasTagOrientation_torient
 

Detailed Description

A tag is a reference point that allows us to place other (child-)meshes to that particular location.

The tag has a rotation and a translation vector on a per-frame base. This allows us to place e.g. weapons onto the tag_rweapon tag of a character model and also move this weapon while the character models moves its arm.

Definition at line 82 of file r_model_alias.h.

Field Documentation

char mAliasTag_s::name[MODEL_MAX_PATH]

the tagname

Definition at line 84 of file r_model_alias.h.

Referenced by R_GetTagIndexByName(), and R_ModLoadTags().

mAliasTagOrientation_t* mAliasTag_s::orient

a list of rotation and translation vectors for each frame

Definition at line 86 of file r_model_alias.h.

Referenced by R_DrawAliasTags(), and R_ModLoadTags().


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