GetSaturation - ColorForm

From Creation Kit
Jump to: navigation, search

SKSE Member of: ColorForm Script

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

Syntax

int Function GetSaturation() native

Parameters

None

Return Value

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

Examples

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

See Also