|
@@ -44,9 +44,9 @@ var color = new THREE.Color( 1, 0, 0 );
|
|
|
<h2>Constructor</h2>
|
|
|
|
|
|
|
|
|
- <h3>[name]( [page:Multi r], [page:Float g], [page:Float b] )</h3>
|
|
|
+ <h3>[name]( [page:Color_Hex_or_String r], [page:Float g], [page:Float b] )</h3>
|
|
|
<div>
|
|
|
- [page:Multi r] - (optional) the red component of the color if arguments g and b are defined.
|
|
|
+ [page:Color_Hex_or_String r] - (optional) the red component of the color if arguments g and b are defined.
|
|
|
If they are not defined, it can be a [link:https://en.wikipedia.org/wiki/Web_colors#Hex_triplet hexadecimal triplet] (recommended) or a CSS-style string or another Color instance.<br />
|
|
|
[page:Float g] - (optional) The green component of the color if it is defined.<br />
|
|
|
[page:Float b] - (optional) The blue component of the color if it is defined.<br /><br />
|