UInt2#

class omni.core.UInt2#

Bases: pybind11_object

Helper struct to represent a single 2-space vector of unsigned integers. Each member of the struct can be accessed in multiple ways including an array and direct accessors known by multiple names. Objects of this struct are guaranteed to be only as large as two 32-bit unsigned integers.

Methods

__init__(*args, **kwargs)

Overloaded function.

Attributes

h

/< Provides access to the first data member as a height value.

s

/< Provides access to the first data member as an S texture coordinate.

t

/< Provides access to the first data member as an T texture coordinate.

u

/< Provides access to the first data member as a U texture coordinate.

v

/< Provides access to the first data member as a V texture coordinate.

w

/< Provides access to the first data member as a width value.

x

Provides access to the first data member as a Cartesian X coordinate.

y

Provides access to the first data member as a Cartesian Y coordinate.

__init__(*args, **kwargs)#

Overloaded function.

  1. __init__(self: omni.core._core.UInt2) -> None

  2. __init__(self: omni.core._core.UInt2, arg0: sequence) -> None

  3. __init__(self: omni.core._core.UInt2, x: int, y: int) -> None

property h#

/< Provides access to the first data member as a height value.

property s#

/< Provides access to the first data member as an S texture coordinate.

property t#

/< Provides access to the first data member as an T texture coordinate.

property u#

/< Provides access to the first data member as a U texture coordinate.

property v#

/< Provides access to the first data member as a V texture coordinate.

property w#

/< Provides access to the first data member as a width value.

property x#

Provides access to the first data member as a Cartesian X coordinate.

property y#

Provides access to the first data member as a Cartesian Y coordinate.