NiAlphaPropertySetTestThreshold

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(bool:success) NiAlphaPropertySetTestThreshold short:threshold short:nifID short:blockID
(bool:success) NiAlphaPropSetTestThresh short:threshold short:nifID short:blockID

Sets 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]