GetLuminosity - ColorForm
Revision as of 04:34, 28 August 2013 by imported>CraftySentinel (Spelling mistake corrected)
SKSE Member of: ColorForm Script
Returns the luminosity of this color form. (This function requires SKSE)
Syntax[edit | edit source]
int Function GetLuminosity() native
Parameters[edit | edit source]
None
Return Value[edit | edit source]
Returns the luminosity of this color form. (From 0 to 255)
Examples[edit | edit source]
ActorBase pActorBase = Game.GetPlayer().GetActorBase()
ColorForm color = pActorBase.GetHairColor()
int luminosity = color.GetLuminosity()
Debug.Trace("Luminosity: " + luminosity)
endif