CModelFuncs

Model functions

Type: Reference type

Methods

Declaration Description
int ModelIndex(const string& in szModelName) Gets model index.
int SetBodygroup(int iModelIndex, int iBody, int iGroup, int iValue) Builds bodygroup configuration.
int GetBodygroup(int iModelIndex, int iBody, int iGroup) Gets bodygroup configuration.
int GetBodygroupSubmodelCount(int iModelIndex, int iGroup) Gets the number of submodels.
int GetAttachmentCount(int iModelIndex) Gets the number of attachments in a model.