NiStencilPropertyGetStencilState

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(bool:stencilState) NiStencilPropertyGetStencilState short:nifID short:blockID
(bool:stencilState) NiStenPropGetState short:nifID short:blockID

Returns 1 if the NiStencilProperty specified by blockID has stenciling turned on, 0 if it is off. This determines whether or not the stencil buffer is being used.

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.

See Also[edit | edit source]