Difference between revisions of "NiMaterialPropertyGetTransparency"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(New page: This is a command from NifSE. '''Syntax''' (float:transparency) NiMaterialPropertyGetTransparency short:nifID ''short:blockID'' (float:transparency) NiAlphaPropGetTr...)
 
imported>DragoonWraith
 
(No difference)

Latest revision as of 12:32, 23 January 2011

This is a command from NifSE.

Syntax

(float:transparency) NiMaterialPropertyGetTransparency short:nifID short:blockID
(float:transparency) NiAlphaPropGetTransp short:nifID short:blockID

Returns transparency value of the NiMaterialProperty specified by blockID.

The default value of blockID, 0, indicates the NIF's root, a NiNode. NiNode blocks are not derived from NiMaterialProperty, so this function will always require an explicit blockID.

See Also[edit | edit source]