GetTextureSetTraitNumeric

From the Fallout3 GECK Wiki
Revision as of 04:08, 28 March 2015 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::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 1stPersonSniperRifleTexture 3

Will return the Max. Height of 1stPersonSniperRifleTexture.

See Also