Difference between revisions of "GetTextureSetTraitNumeric"
Jump to navigation
Jump to search
imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns the value of a Texture-Set's numeric trait (determined by <i>traitID</i>). |name = GetTextureSetTraitNumeric |returnType = trai...") |
imported>Jazzisparis |
||
Line 23: | Line 23: | ||
7	Parallax Passes | 7	Parallax Passes | ||
8	Color (RRRGGGBBB)</pre> | 8	Color (RRRGGGBBB)</pre> | ||
|example = GetTextureSetTraitNumeric | |example = GetTextureSetTraitNumeric LandscapeDirtNV 3 | ||
Will return the <i>Max. Height</i> of <i> | Will return the <i>Max. Height</i> of <i>LandscapeDirtNV</i>. | ||
}} | }} | ||
==See Also== | ==See Also== | ||
[[Category:Functions_(JIP)]] | [[Category:Functions_(JIP)]] |
Revision as of 04:14, 28 March 2015
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Returns the value of a Texture-Set's numeric trait (determined by traitID).
Syntax
(traitValue:float) GetTextureSetTraitNumeric textureSet:ref traitID:int{0-8}
Texture-Set Numeric Trait IDs
0 Min. Width 1 Max. Width 2 Min. Height 3 Max. Height 4 Depth 5 Shininess 6 Parallax Scale 7 Parallax Passes 8 Color (RRRGGGBBB)
Example
GetTextureSetTraitNumeric LandscapeDirtNV 3
Will return the Max. Height of LandscapeDirtNV.