[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
NiAlphaPropertyGetTestState
Jump to navigation
Jump to search
This is a command from NifSE.
Syntax
(bool:testState) NiAlphaPropertyGetTestState short:nifID short:blockID (bool:testState) NiAlphaPropGetTestState short:nifID short:blockID
Returns 1 if the NiAlphaProperty specified by blockID has alpha testing turned on, 0 if it is off. If on, the alpha test function will be used to compare each pixel's alpha value to the threshold. If the function is true, the pixel will be drawn, otherwise it will not.
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.