NiAlphaPropertyGetBlendState
Jump to navigation
Jump to search
This is a command from NifSE.
Syntax
(bool:blendState) NiAlphaPropertyGetBlendState short:nifID short:blockID (bool:blendState) NiAlphaPropGetBlendState short:nifID short:blockID
Returns 1 if the NiAlphaProperty specified by blockID has alpha blending turned on, 0 if it is off. If on, the blending functions will be used to mix the values based on the alpha component of each pixel in the texture.
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.