Difference between revisions of "Vn ms fnc cacheLayer"
Jump to navigation
Jump to search
(Created page with "{{Function |v= 1.00 |author=Wyqer, veteran29 |a= |e= |g1= general |d= <pre>Toggle caching of editor layer.</pre> |s= [] call vn_ms_fnc_cacheLayer; |p1n=_layer |p1t=S...") |
|||
Line 11: | Line 11: | ||
|d= <pre>Toggle caching of editor layer.</pre> | |d= <pre>Toggle caching of editor layer.</pre> | ||
− | |s= [] call [[vn_ms_fnc_cacheLayer]]; | + | |s= [_layer,_cached] call [[vn_ms_fnc_cacheLayer]]; |
|p1n=_layer | |p1n=_layer |
Latest revision as of 23:35, 4 May 2022
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Toggle caching of editor layer.
Syntax
- Syntax
- [_layer,_cached] call vn_ms_fnc_cacheLayer;
- Parameters
- _layer: String - (Optional, default
""
) Layer name. - _cached: Boolean - (Optional, default
true
) Caching state. - Return value
- Nothing
Examples
- Example 1
- ["myEditorLayer", false] call vn_ms_fnc_cacheLayer