Difference between revisions of "NiMaterialPropertyGetAmbientColor"
NiMaterialPropertyGetAmbientColor (edit)
Revision as of 12:44, 23 January 2011
, 12:44, 23 January 2011no edit summary
imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (array_var:ambColor) NiMaterialPropertyGetAmbientColor short:nifID ''short:blockID'' (array_var:ambColor) NiAlphaPropGetAm...) |
imported>DragoonWraith |
||
Line 2: | Line 2: | ||
'''Syntax''' | '''Syntax''' | ||
(array_var: | (array_var:color3) NiMaterialPropertyGetAmbientColor short:nifID ''short:blockID'' | ||
(array_var: | (array_var:color3) NiAlphaPropGetAmbColor short:nifID ''short:blockID'' | ||
Returns a StringMap containing the ambient color data of the [[:Category:NifSE (NiMaterialProperty)|<tt>NiMaterialProperty</tt>]] specified by <tt>blockID</tt>. | Returns a StringMap containing the ambient color data of the [[:Category:NifSE (NiMaterialProperty)|<tt>NiMaterialProperty</tt>]] specified by <tt>blockID</tt>. | ||
The | The <tt>array_var:color3</tt> is a StringMap with the following elements: | ||
map["r"]:float - red intensity | map["r"]:float - red intensity | ||
map["g"]:float - green intensity | map["g"]:float - green intensity |