Points

class omni.ui.scene.Points

Bases: AbstractShape

Represents the point cloud.

Methods

__init__(self, arg0, **kwargs)

Constructs the point cloud object.

get_gesture_payload(*args, **kwargs)

Overloaded function.

Attributes

colors

List of colors of the points.

gesture_payload

Contains all the information about the intersection.

intersection_sizes

The size of the points for the intersection.

positions

List with positions of the points.

sizes

List of point sizes.

__init__(self: omni.ui_scene._scene.Points, arg0: object, **kwargs) None

Constructs the point cloud object.

### Arguments:

`positions :`

List of positions

`kwargsdict`

See below

### Keyword Arguments:

`positions`

List with positions of the points.

`colors`

List of colors of the points.

`sizes`

List of point sizes.

`intersection_sizes`

The size of the points for the intersection.

`gesture`

All the gestures assigned to this shape.

`gestures`

All the gestures assigned to this shape.

`visible`

This property holds whether the item is visible.

get_gesture_payload(*args, **kwargs)

Overloaded function.

  1. get_gesture_payload(self: omni.ui_scene._scene.Points) -> omni.ui_scene._scene.PointsGesturePayload

Contains all the information about the intersection.

  1. get_gesture_payload(self: omni.ui_scene._scene.Points, arg0: omni.ui_scene._scene.GestureState) -> omni.ui_scene._scene.PointsGesturePayload

Contains all the information about the intersection at the specific state.

property colors

List of colors of the points.

property gesture_payload

Contains all the information about the intersection.

property intersection_sizes

The size of the points for the intersection.

property positions

List with positions of the points.

property sizes

List of point sizes.