NiMaterialPropertySetGlossiness

Revision as of 12:33, 23 January 2011 by imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (bool:success) NiMaterialPropertySetGlossiness float:Glossiness short:nifID ''short:blockID'' (bool:success) NiAlphaPropSe...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

See Also