GetSaturation - ColorForm

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: ColorForm Script

Returns the saturation of this color form. (This function requires SKSE)

Syntax[edit | edit source]

int Function GetSaturation() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

Returns the saturation of this color form. (From 0 to 255)

Examples[edit | edit source]

ActorBase pActorBase = Game.GetPlayer().GetActorBase()
ColorForm color = pActorBase.GetHairColor()
int saturation = color.GetSaturation()
Debug.Trace("Saturation: " + saturation)
endif

See Also[edit | edit source]