Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
ModelConditionInfo::WeaponBarrelInfo Struct Reference

#include <W3DModelDraw.h>

Public Member Functions

 WeaponBarrelInfo ()
 
void clear ()
 
void setMuzzleFlashHidden (RenderObjClass *fullObject, Bool hide) const
 

Public Attributes

Int m_recoilBone
 the W3D bone for this barrel (zero == no bone)
 
Int m_fxBone
 the FX bone for this barrel (zero == no bone)
 
Int m_muzzleFlashBone
 the muzzle-flash subobj bone for this barrel (zero == none)
 
Matrix3D m_projectileOffsetMtx
 where the projectile fires from
 

Detailed Description

Definition at line 173 of file W3DModelDraw.h.

Constructor & Destructor Documentation

◆ WeaponBarrelInfo()

ModelConditionInfo::WeaponBarrelInfo::WeaponBarrelInfo ( )
inline

Definition at line 183 of file W3DModelDraw.h.

Member Function Documentation

◆ clear()

void ModelConditionInfo::WeaponBarrelInfo::clear ( )
inline

Definition at line 188 of file W3DModelDraw.h.

◆ setMuzzleFlashHidden()

void ModelConditionInfo::WeaponBarrelInfo::setMuzzleFlashHidden ( RenderObjClass * fullObject,
Bool hide ) const

Definition at line 2324 of file W3DModelDraw.cpp.

Member Data Documentation

◆ m_fxBone

Int ModelConditionInfo::WeaponBarrelInfo::m_fxBone

the FX bone for this barrel (zero == no bone)

Definition at line 176 of file W3DModelDraw.h.

◆ m_muzzleFlashBone

Int ModelConditionInfo::WeaponBarrelInfo::m_muzzleFlashBone

the muzzle-flash subobj bone for this barrel (zero == none)

Definition at line 177 of file W3DModelDraw.h.

◆ m_projectileOffsetMtx

Matrix3D ModelConditionInfo::WeaponBarrelInfo::m_projectileOffsetMtx

where the projectile fires from

Definition at line 178 of file W3DModelDraw.h.

◆ m_recoilBone

Int ModelConditionInfo::WeaponBarrelInfo::m_recoilBone

the W3D bone for this barrel (zero == no bone)

Definition at line 175 of file W3DModelDraw.h.


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