[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.
NiStencilPropertySetStencilRef
Jump to navigation
Jump to search
This is a command from NifSE.
Syntax
(bool:success) NiStencilPropertySetStencilRef short:stencilRef short:nifID short:blockID (bool:success) NiStenPropSetRef short:stencilRef short:nifID short:blockID
Sets the reference value of the NiStencilProperty specified by blockID. This is the value that the stencil function compares against to determine whether a pixel is drawn.
Returns 1 if successful, 0 otherwise.
The default value of blockID, 0, indicates the NIF's root, a NiNode. NiNode blocks are not derived from NiStencilProperty, so this function will always require an explicit blockID.