Float3
- class carb.Float3
Bases:
pybind11_object
A triplet of floating point values. These can be accessed via the named attributes, `x`, `y` & `z`, but also support sequence access, making them work where a list or tuple is expected.
>>> v = [1, 2, 3] f = carb.Float3(v) >>> f[0] 1.0 >>> f.y 2.0 >>> f[2] 3.0
Methods
__init__
(*args, **kwargs)Overloaded function.
Attributes
x
y
z
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: carb._carb.Float3) -> None
__init__(self: carb._carb.Float3, arg0: float, arg1: float, arg2: float) -> None
__init__(self: carb._carb.Float3, arg0: sequence) -> None