User Tools

Site Tools


api:color

color

Category: Data structure

Functions


setFromHsb

void color.setFromHsb(object, hsb)

Name Type Description
object color
hsb vec3f

void color.setFromHsb(object, hue, saturation, brightness)

Name Type Description
object color
hue float
saturation float
brightness float

setFromHsba

void color.setFromHsba(object, hue, saturation, brightness, alpha)

Name Type Description
object color
hue float
saturation float
brightness float
alpha float

getHsb

vec3f color.getHsb(object)

Name Type Description
object color

toGamma

color color.toGamma(object)

Name Type Description
object color

toLinear

color color.toLinear(object)

Name Type Description
object color
api/color.txt · Last modified: 2024/02/06 13:53 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki