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.

Syntax

float Function GetHue()

Return Value

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

Notes

  • Prior to SKSE 1.06.00 this was scaled to 255.


Examples

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


See Also