GetHue - ColorForm

From Creation Kit
Jump to: navigation, search

Source: SKSE 1.05.07 (Revised in 1.06.00)

Member of: ColorForm Script

Gets the hue value of this color form.


float Function GetHue()

Return Value

Returns the hue of this color form, expressed in degrees (0.0 to 360.0).


  • Prior to SKSE 1.06.00 this was scaled to 255.


ActorBase pActorBase = Game.GetPlayer().GetActorBase()
ColorForm color = pActorBase.GetHairColor()
int hue = color.GetHue()
Debug.Trace("Hue: " + hue)

See Also