Difference between revisions of "GetCellLighting"
Jump to navigation
Jump to search
Tag: Manual revert |
|||
Line 19: | Line 19: | ||
| type = ref | | type = ref | ||
}} | }} | ||
}} | }} | ||
== See Also == | == See Also == | ||
Latest revision as of 16:21, 21 December 2023
< [[::Category:Functions|Category:Functions]]
A function added by the Oblivion Script Extender.
Syntax:
(lighting:StringMap) GetCellLighting cell:ref
Returns a StringMap describing the lighting properties for the interior cell. The StringMap contains the following key-value pairs corresponding to the fields in the editor's Cell Lighting tab, where 'RGB Array' is a 3-element Array with values from 0-255 in the order {red, green, blue}:
- "ambient" (RGB Array)
- "directional" (RGB Array)
- "fog" (RGB Array)
- "rotxy" (float)
- "rotz" (float)
- "fognear" (float)
- "fogfar" (float)
- "clip" (float)
- "fade" (float)