new Color(parameters)
- Description:
- 颜色,用于创建颜色对象,颜色范围为[0-1],格式为{r: 1,g: 1,b: 1,a: 1}
- Source:
- objects/common/Color.js, line2
Parameters:
Name | Type | Description |
---|---|---|
parameters |
* | color r,g,b,a range is [0-1] |
Name | Type | Description |
---|---|---|
parameters |
* | color r,g,b,a range is [0-1] |