[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.
NiStencilPropertySetPassAction
Jump to navigation
Jump to search
This is a command from NifSE.
Syntax
(bool:success) NiStencilPropertySetPassAction short:stencilAct short:nifID short:blockID (bool:success) NiStencilPropSetPassAct short:stencilAct short:nifID short:blockID
Sets the pass action used by the NiStencilProperty specified by blockID. The pass action is the action taken if the stencil test evaluates to true. The possible values and their meanings are indicated below.
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.
Stencil Actions
- KEEP = 0
- ZERO = 1
- REPLACE = 2
- INCREMENT = 3
- DECREMENT = 4
- INVERT = 5