NiStencilPropertyGetStencilRef

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(short:stencilRef) NiStencilPropertyGetStencilRef short:nifID short:blockID
(short:stencilRef) NiStenPropGetRef short:nifID short:blockID

Returns 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.

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]