Difference between revisions of "GetTextureSetTraitNumeric"

From the Fallout3 GECK Wiki
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
 
(2 intermediate revisions by the same user not shown)
Line 23: Line 23:
7&#09;Parallax Passes
7&#09;Parallax Passes
8&#09;Color (RRRGGGBBB)</pre>
8&#09;Color (RRRGGGBBB)</pre>
  |example = GetTextureSetTraitNumeric 1stPersonSniperRifleTexture 3
  |example = GetTextureSetTraitNumeric LandscapeDirtNV 3
Will return the <i>Max. Height</i> of <i>1stPersonSniperRifleTexture</i>.
Will return the <i>Max. Height</i> of <i>LandscapeDirtNV</i>.
}}
}}
==See Also==
==See Also==
*[[SetTextureSetTraitNumeric]]
*[[GetTextureSetTexture]]
*[[SetTextureSetTexture]]
*[[GetTextureSetFlag]]
*[[SetTextureSetFlag]]
[[Category:Functions_(JIP)]]
[[Category:Functions_(JIP)]]
[[Category:Texture-Set Functions (JIP)]]

Latest revision as of 14:42, 30 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

[help]
(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.

See Also