preloadCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(This is stub only.)
(Added basic description.)
Line 4: Line 4:




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




'''Operand types:'''
'''Operand types:'''


None
[[Array]] position


'''Type of returned value:'''
'''Type of returned value:'''
Line 15: Line 15:
[[Boolean]]
[[Boolean]]


{{stub-scripting-command}}
'''Compatibility:'''
 
Version 2.40 required.
 
'''Description:'''
 
Preload all textures and models around given position (format [[Position]]) to avoid visual artifacts after camera is moved. Should be used before any abrupt camera change / cut.
 
Returns true once all data are ready.
 
'''Example:'''
 
[[spawn]] {[[waitUntil]] '''preloadCamera''' [[markerPos]] "cam_location_2"}

Revision as of 22:11, 17 July 2006


preloadCamera position


Operand types:

Array position

Type of returned value:

Boolean

Compatibility:

Version 2.40 required.

Description:

Preload all textures and models around given position (format Position) to avoid visual artifacts after camera is moved. Should be used before any abrupt camera change / cut.

Returns true once all data are ready.

Example:

spawn {waitUntil preloadCamera markerPos "cam_location_2"}