Skip to content

Commit 135fdc5

Browse files
committed
update vertextColor description to note the range of the values
1 parent 7b2946a commit 135fdc5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: src/traces/mesh3d/attributes.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ module.exports = extendFlat({
163163
editType: 'calc',
164164
description: [
165165
'Sets the color of each vertex',
166-
'Overrides *color*.'
166+
'Overrides *color*. While Red, green and blue colors',
167+
'are in the range of 0 and 255; in the case of having',
168+
'vertex color data in RGBA format, the alpha color',
169+
'should be normalized to be between 0 and 1.'
167170
].join(' ')
168171
},
169172
facecolor: {

0 commit comments

Comments
 (0)