EngineGetFramePosition: Difference between revisions
Jump to navigation
Jump to search
(Blanked the page) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Client function}} | |||
__NOTOC__ | |||
{{New items|3.0151|1.4| | |||
This function get frame position from [[vehicle]] [[element]]. | |||
}}<br /> | |||
<br /> | |||
==Syntax== | |||
<syntaxhighlight lang="lua"> | |||
float fX, float fY, float fZ engineGetFramePosition ( vehicle theVehicle, string | |||
theComponent ) | |||
</syntaxhighlight> | |||
===Required Arguments=== | |||
*'''theVehicle:''' A [[vehicle]] object. | |||
*'''theComponent:''' A component. | |||
<br /> | |||
'''List of components:'''<br /> | |||
special_1<br /> | |||
special_2<br /> | |||
special_3<br /> | |||
special_4<br /> | |||
special_5<br /> | |||
bonnet<br /> | |||
boot<br /> | |||
bumper_1<br /> | |||
bumper_2<br /> | |||
chassis<br /> | |||
door_1<br /> | |||
door_2<br /> | |||
door_3<br /> | |||
door_4<br /> | |||
exhaust<br /> | |||
windscreen<br /> | |||
<br /> | |||
===Returns=== | |||
Returns three ''float''s indicating the position of the frame, ''x'', ''y'' and ''z'' respectively. | |||
==See Also== | |||
{{Engine_functions}} |
Revision as of 20:57, 10 September 2012
This function get frame position from vehicle element.
Syntax
float fX, float fY, float fZ engineGetFramePosition ( vehicle theVehicle, string theComponent )
Required Arguments
- theVehicle: A vehicle object.
- theComponent: A component.
List of components:
special_1
special_2
special_3
special_4
special_5
bonnet
boot
bumper_1
bumper_2
chassis
door_1
door_2
door_3
door_4
exhaust
windscreen
Returns
Returns three floats indicating the position of the frame, x, y and z respectively.
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