Difference between revisions of "NiExtraDataGetArray"

Jump to navigation Jump to search
787 bytes removed ,  23:59, 20 January 2011
no edit summary
imported>DragoonWraith
m (categorizing)
imported>DragoonWraith
 
Returns 0 if the function fails for whatever reason.
 
== Array{{NifSE NiExtraData TypesArray Type ==List}}
The following <tt>NiExtraData</tt> have array data.
<ul><li><tt>NiBinaryExtraData</tt> - an array of shorts
<li><tt>NiColorExtraData</tt> - a StringMap with the following format:
<pre>map["r"]:float - Red intensity
map["g"]:float - Green intensity
map["b"]:float - Blue intensity
map["a"]:float - Alpha value</pre>
<li><tt>NiFloatsExtraData</tt> - an array of floats
<li><tt>NiIntegersExtraData</tt> - an array of integers
<li><tt>NiStringsExtraData</tt> - an array of strings
<li><tt>NiVectorExtraData</tt> - a vector of floats with length 3, corresponding to x, y, and z.</ul>
 
== Note ==
* Because [[:Category:OBSE|OBSE]]'s plugin API does not currently support accepting arrays as arguments, NifSE does not currently provide the ability to set array data, so for now this data is read-only.
 
[[Category:NifSE|ExtraDataGetArray]]

Navigation menu