Float2
- class omni.core.Float2
Bases:
pybind11_object
Helper struct to represent a single 2-space vector of floating point values. 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 floating point values.
Methods
__init__
(*args, **kwargs)Overloaded function.
Attributes
/< Provides access to the first data member as a height value.
/< Provides access to the first data member as an S texture coordinate.
/< Provides access to the first data member as an T texture coordinate.
/< Provides access to the first data member as a U texture coordinate.
/< Provides access to the first data member as a V texture coordinate.
/< Provides access to the first data member as a width value.
Provides access to the first data member as a Cartesian X coordinate.
Provides access to the first data member as a Cartesian Y coordinate.
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: omni.core._core.Float2) -> None
__init__(self: omni.core._core.Float2, arg0: sequence) -> None
__init__(self: omni.core._core.Float2, x: float, y: float) -> 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.