Difference between revisions of "NiMaterialPropertySetGlossiness"
Jump to navigation
Jump to search
imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (bool:success) NiMaterialPropertySetGlossiness float:Glossiness short:nifID ''short:blockID'' (bool:success) NiAlphaPropSe...) |
imported>DragoonWraith |
||
Line 2: | Line 2: | ||
'''Syntax''' | '''Syntax''' | ||
(bool:success) NiMaterialPropertySetGlossiness float: | (bool:success) NiMaterialPropertySetGlossiness float:glossiness short:nifID ''short:blockID'' | ||
(bool:success) NiAlphaPropSetTransp float: | (bool:success) NiAlphaPropSetTransp float:glossiness short:nifID ''short:blockID'' | ||
Sets the glossiness value of the [[:Category:NifSE (NiMaterialProperty)|<tt>NiMaterialProperty</tt>]] specified by <tt>blockID</tt>. | Sets the glossiness value of the [[:Category:NifSE (NiMaterialProperty)|<tt>NiMaterialProperty</tt>]] specified by <tt>blockID</tt>. |
Latest revision as of 12:34, 23 January 2011
This is a command from NifSE.
Syntax
(bool:success) NiMaterialPropertySetGlossiness float:glossiness short:nifID short:blockID (bool:success) NiAlphaPropSetTransp float:glossiness short:nifID short:blockID
Sets the glossiness value of the NiMaterialProperty specified by blockID.
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 NiMaterialProperty, so this function will always require an explicit blockID.