positionCameraToWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:




<h2 style="color:#000066">''''' positionCameraToWorld''''' ''position''</h2>
<h2 style="color:#000066">''' positionCameraToWorld ''position'''''</h2>




Line 21: Line 21:


Transform position from camera coordinate space to world coordinate space.
Transform position from camera coordinate space to world coordinate space.


'''Example:'''
'''Example:'''


_worldPos = '''positionCameraToWorld''' _cameraPos
_worldPos = '''positionCameraToWorld''' _cameraPos

Revision as of 17:25, 1 July 2006


positionCameraToWorld position


Operand types:

position: Array

Type of returned value:

Array

Compatibility:

Version 2.52 required.

Description:

Transform position from camera coordinate space to world coordinate space.


Example:

_worldPos = positionCameraToWorld _cameraPos