Difference between revisions of "NiAlphaPropertySetDestinationBlendFunction"

Jump to navigation Jump to search
no edit summary
imported>DragoonWraith
(New page: This is a command from NifSE. '''Syntax''' (bool:success) NiAlphaPropertySetDestinationBlendFunction short:blendFunc short:nifID ''short:blockID'' (bool:success) NiA...)
 
imported>DragoonWraith
 
Line 7: Line 7:
Sets the blend function used for the destination by the [[:Category:NifSE (NiAlphaProperty)|<tt>NiAlphaProperty</tt>]] specified by <tt>blockID</tt>. The possible values and their meanings are indicated below.
Sets the blend function used for the destination by the [[:Category:NifSE (NiAlphaProperty)|<tt>NiAlphaProperty</tt>]] specified by <tt>blockID</tt>. The possible values and their meanings are indicated below.


Returns -1 if the function fails for any reason.
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>NiAlphaProperty</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>NiAlphaProperty</tt>, so this function will always require an explicit <tt>blockID</tt>.

Navigation menu