Difference between revisions of "NiStencilPropertySetPassAction"
Jump to navigation
Jump to search
NiStencilPropertySetPassAction (edit)
Revision as of 17:55, 23 January 2011
, 17:55, 23 January 2011no edit summary
imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (bool:success) NiStencilPropertySetPassAction short:stencilAct short:nifID ''short:blockID'' (bool:success) NiStencilPropS...) |
imported>DragoonWraith |
||
Line 7: | Line 7: | ||
Sets the pass action used by the [[:Category:NifSE (NiStencilProperty)|<tt>NiStencilProperty</tt>]] specified by <tt>blockID</tt>. The pass action is the action taken if the [[NiStencilPropertyGetStencilFunction|stencil test]] evaluates to true. The possible values and their meanings are indicated below. | Sets the pass action used by the [[:Category:NifSE (NiStencilProperty)|<tt>NiStencilProperty</tt>]] specified by <tt>blockID</tt>. The pass action is the action taken if the [[NiStencilPropertyGetStencilFunction|stencil test]] evaluates to true. The possible values and their meanings are indicated below. | ||
Returns | Returns 1 if successful, 0 otherwise. | ||
The default value of <tt>blockID</tt>, 0, indicates the NIF's root, a [[:Category:NifSE (NiNode)|<tt>NiNode</tt>]]. <tt>NiNode</tt> blocks are not derived from <tt>NiStencilProperty</tt>, so this function will always require an explicit <tt>blockID</tt>. | The default value of <tt>blockID</tt>, 0, indicates the NIF's root, a [[:Category:NifSE (NiNode)|<tt>NiNode</tt>]]. <tt>NiNode</tt> blocks are not derived from <tt>NiStencilProperty</tt>, so this function will always require an explicit <tt>blockID</tt>. |