morph options object.
name
string
pointArrays
number
color
names
glPrimitive
TRIANGLES
POINTS
LINES
FAN
STRIP
'TRIANGLES'
morph options object.
namestring— primitive namepointArraysnumber[][] — point arrays to morph between. Each point array is an array of consecutive x, y values of points. For example: [x1, y1, x2, y2, x3, y3, ...].colorTypeColor | TypeColor | TypeColor[][] — colors to be assigned to the pointsnamesstring[] — optional names for each point array. Names can be used when using the morph animation step instead of point array indeces.glPrimitiveTRIANGLES|POINTS|LINES|FAN|STRIP— glPrimitive is the same for all point arrays ('TRIANGLES')