EngineFreeModel: Difference between revisions
Jump to navigation
Jump to search
m (reverted) |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | |||
{{Client function}} | |||
{{New feature/item|3.0160|1.5.7|20147|This function is used to un-assign the specified model ID from the [[engineRequestModel]] assignment.}} | |||
{{Note| | |||
Needs checking / improving.}} | |||
==Syntax== | |||
<syntaxhighlight lang="lua"> | |||
bool engineFreeModel ( int modelID ) | |||
</syntaxhighlight> | |||
===Required Arguments=== | |||
*'''modelID''': the model ID you want to have un-assigned. | |||
===Returns=== | |||
Returns ''true'' if the model was successfully freed, ''false'' otherwise. | |||
==Example== | |||
{{Example}} | |||
==See Also== | |||
{{Engine functions}} |
Revision as of 17:03, 8 September 2019
This function is used to un-assign the specified model ID from the engineRequestModel assignment.
Syntax
bool engineFreeModel ( int modelID )
Required Arguments
- modelID: the model ID you want to have un-assigned.
Returns
Returns true if the model was successfully freed, false otherwise.
Example
Script Example Missing Function EngineFreeModel needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
-- TODO
See Also
- engineAddImage
- engineApplyShaderToWorldTexture
- engineFreeModel
- engineGetModelFlags
- engineGetModelIDFromName
- engineGetModelLODDistance
- engineGetModelNameFromID
- engineGetModelPhysicalPropertiesGroup
- engineGetModelTextureNames
- engineGetModelTextures
- engineGetModelTXDID
- engineGetModelVisibleTime
- engineGetObjectGroupPhysicalProperty
- engineGetSurfaceProperties
- engineGetVisibleTextureNames
- engineImageGetFilesCount
- engineImageGetFiles
- engineImageGetFile
- engineImageLinkDFF
- engineImageLinkTXD
- engineImportTXD
- engineLoadCOL
- engineLoadDFF
- engineLoadIMG
- engineLoadIFP
- engineLoadTXD
- engineRemoveImage
- engineRemoveShaderFromWorldTexture
- engineReplaceAnimation
- engineReplaceCOL
- engineReplaceModel
- engineRequestModel
- engineResetModelFlags
- engineResetModelLODDistance
- engineResetSurfaceProperties
- engineRestoreAnimation
- engineRestoreCOL
- engineRestoreDFFImage
- engineRestoreModel
- engineRestoreModelPhysicalPropertiesGroup
- engineRestoreObjectGroupPhysicalProperties
- engineRestoreTXDImage
- engineRestreamWorld
- engineSetAsynchronousLoading
- engineSetModelFlag
- engineSetModelFlags
- engineSetModelLODDistance
- engineSetModelPhysicalPropertiesGroup
- engineSetModelVisibleTime
- engineSetObjectGroupPhysicalProperty
- engineSetSurfaceProperties
- engineStreamingFreeUpMemory
- engineStreamingGetUsedMemory