Skip to content

ColorModel

march edited this page Jan 9, 2025 · 1 revision

Changes the color of a named model.

Properties

Time:number

⠀⠀⠀⠀The time to start the color change.

Length:number (default 0.5)

⠀⠀⠀⠀The time it takes to reach the desired color. 0 for instantaneous


Target:string

⠀⠀⠀⠀The named model name for the model you want to transform

Color:color

⠀⠀⠀⠀The Color to set the model to


Easing:function

⠀⠀⠀⠀An easing function for these parameters that takes in a 0 - 1 number and returns a 0 - 1 number. Linear movement can be accomplished using a simple lambda: function(x) return x end

Clone this wiki locally