Arc
- class omni.ui.scene.Arc
Bases:
AbstractShape
Methods
__init__
(self, radius, **kwargs)Constructs Arc.
get_gesture_payload
(*args, **kwargs)Overloaded function.
Attributes
The axis the circle plane is perpendicular to.
Y to Z, Z to X, X to Y
The color of the line.
Draw two radii of the circle.
Y to Z, Z to X, X to Y
Contains all the information about the intersection.
The thickness of the line for the intersection.
radius
Draw two radii of the circle.
Number of points on the curve.
The thickness of the line.
When true, it's a line.
- __init__(self: omni.ui_scene._scene.Arc, radius: float, **kwargs) None
Constructs Arc.
- `kwargsdict`
See below
### Keyword Arguments:
- `begin`
The start angle of the arc. Angle placement and directions are (0 to 90): Y to Z, Z to X, X to Y
- `end`
The end angle of the arc. Angle placement and directions are (0 to 90): Y to Z, Z to X, X to Y
- `thickness`
The thickness of the line.
- `intersection_thickness`
The thickness of the line for the intersection.
- `color`
The color of the line.
- `tesselation`
Number of points on the curve.
- `axis`
The axis the circle plane is perpendicular to.
- `sector`
Draw two radii of the circle.
- `culling`
Draw two radii of the circle.
- `wireframe`
When true, it’s a line. When false it’s a mesh.
- `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.
get_gesture_payload(self: omni.ui_scene._scene.Arc) -> omni.ui_scene._scene.ArcGesturePayload
Contains all the information about the intersection.
get_gesture_payload(self: omni.ui_scene._scene.Arc, arg0: omni.ui_scene._scene.GestureState) -> omni.ui_scene._scene.ArcGesturePayload
Contains all the information about the intersection at the specific state.
- property axis
The axis the circle plane is perpendicular to.
- property begin
Y to Z, Z to X, X to Y
- Type
The start angle of the arc. Angle placement and directions are (0 to 90)
- property color
The color of the line.
- property culling
Draw two radii of the circle.
- property end
Y to Z, Z to X, X to Y
- Type
The end angle of the arc. Angle placement and directions are (0 to 90)
- property gesture_payload
Contains all the information about the intersection.
- property intersection_thickness
The thickness of the line for the intersection.
- property sector
Draw two radii of the circle.
- property tesselation
Number of points on the curve.
- property thickness
The thickness of the line.
- property wireframe
When true, it’s a line. When false it’s a mesh.