ScatterGraphic¶

ScatterGraphic¶

Constructor¶

ScatterGraphic(data[, sizes, colors, alpha, ...])

Create a Scatter Graphic, 2d or 3d

Properties¶

ScatterGraphic.children

Return the children of the WorldObject.

ScatterGraphic.name

str name reference for this item

ScatterGraphic.position

position of the graphic, [x, y, z]

ScatterGraphic.position_x

x-axis position of the graphic

ScatterGraphic.position_y

y-axis position of the graphic

ScatterGraphic.position_z

z-axis position of the graphic

ScatterGraphic.rotation

ScatterGraphic.visible

Access or change the visibility.

ScatterGraphic.world_object

Associated pygfx WorldObject.

Methods¶

ScatterGraphic.rotate(alpha[, axis])

Rotate the Graphic with respect to the world.