NiAlphaPropertyGetTestThreshold

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(short:threshold) NiAlphaPropertyGetTestThreshold short:nifID short:blockID
(short:threshold) NiAlphaPropGetTestThresh short:nifID short:blockID

Returns the test threshold of the NiAlphaProperty specified by blockID. This is the value that the test functions (see NiAlphaPropertyGetTestFunction) check the source and destination alpha value against before painting them.

The default value of blockID, 0, indicates the NIF's root, a NiNode. NiNode blocks are not derived from NiAlphaProperty, so this function will always require an explicit blockID.

See Also[edit | edit source]