Color
INFO
Inherits: TypedCommand
The virtual light source color on the object. The colors of the pixels on the object are determined subtractively.
Example:
ts
new Color({
startTime: 0,
endTime: 1000,
startValue: [0, 0, 0],
endValue: [0, 255, 255],
easing: 3
})Constructor details
ts
new Color({
startTime,
endTime,
startValue,
endValue,
easing
})- Parameters:
startTime(string | number | Timestamp) (Timestamp): The start time of the animation.endTime(string | number | Timestamp | undefined) (Timestamp): The end time of the animation. Defaults toundefined.startValue(IColor3 | Color3Tuple) (Color3): The starting color value.endValue(IColor3 | Color3Tuple | undefined) (Color3): The ending color value. Defaults toundefined.easing(Easing | undefined) (Easing): The easing function for the rotate animation. Defaults toundefined.
Properties
Properties inherited from Command:
Properties inherited from TypedCommand: