Skip to content

format

typescript
Color.MulAssign(rhs)

class: Color

description

Multiply each color channel of the current color by a specified value.

This method directly modifies the current color object.

parameter

param_nametypedescription
rhsnumberThe value to multiply by.

reture

typedescription
void

code example