[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.
NiStencilPropertySetStencilState
Jump to navigation
Jump to search
This is a command from NifSE.
Syntax
(bool:success) NiStencilPropertySetStencilState bool:stencilState short:nifID short:blockID (bool:success) NiStenPropSetState bool:stencilState short:nifID short:blockID
Sets whether or not the NiStencilProperty specified by blockID has stenciling turned on. This determines whether or not the stencil buffer is being used.
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.