Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/deps.ts>three.Color#setRGB

A framework for Beat Saber map scripting.
Go to Latest
method three.Color.prototype.setRGB
Re-export
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { Color } = three;

Sets this color from RGB values.

Parameters

r: number

Red channel value between 0 and 1.

g: number

Green channel value between 0 and 1.

b: number

Blue channel value between 0 and 1.

optional
colorSpace: ColorSpace