Vector2

class omni.ui.scene.Vector2

Bases: pybind11_object

Methods

__init__(*args, **kwargs)

Overloaded function.

get_length(self)

get_normalized(self)

Attributes

x

y

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: omni.ui_scene._scene.Vector2, v: omni.ui_scene._scene.Vector2) -> None

  2. __init__(self: omni.ui_scene._scene.Vector2, x: float = 0.0) -> None

  3. __init__(self: omni.ui_scene._scene.Vector2, x: float, y: float) -> None

get_length(self: omni.ui_scene._scene.Vector2) float
get_normalized(self: omni.ui_scene._scene.Vector2) omni.ui_scene._scene.Vector2