NiMaterialPropertyGetEmissiveColor

Revision as of 15:28, 21 December 2023 by 173.17.114.221 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a command from NifSE.

Syntax

(array_var:color3) NiMaterialPropertyGetEmissiveColor short:nifID short:blockID
(array_var:color3) NiAlphaPropGetEmiColor short:nifID short:blockID

Returns a StringMap containing the emissive color data of the NiMaterialProperty specified by blockID.

The array_var:color3 is a StringMap with the following elements:

map["r"]:float - red intensity
map["g"]:float - green intensity
map["b"]:float - blue intensity

The default value of blockID, 0, indicates the NIF's root, a NiNode. NiNode blocks are not derived from NiMaterialProperty, so this function will always require an explicit blockID.

See AlsoEdit