Transform#
- class omni.ui.scene.Transform#
Bases:
AbstractContainer
Transforms children with component affine transformations.
Methods
__init__
(*args, **kwargs)Overloaded function.
Attributes
A custom basis for representing this transform's coordinate system.
Rotates this transform to align the direction with the camera.
Which space the current transform will be rescaled before applying the matrix.
Single transformation matrix.
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: omni.ui_scene._scene.Transform, **kwargs) -> None
Constructor.
- `kwargsdict`
See below
### Keyword Arguments:
- `transform`
Single transformation matrix.
- `scale_to`
Which space the current transform will be rescaled before applying the matrix. It’s useful to make the object the same size regardless the distance to the camera.
- `look_at`
Rotates this transform to align the direction with the camera.
- `basis`
A custom basis for representing this transform’s coordinate system.
- `visible`
This property holds whether the item is visible.
__init__(self: omni.ui_scene._scene.Transform, arg0: object, **kwargs) -> None
Constructor.
- `kwargsdict`
See below
### Keyword Arguments:
- `transform`
Single transformation matrix.
- `scale_to`
Which space the current transform will be rescaled before applying the matrix. It’s useful to make the object the same size regardless the distance to the camera.
- `look_at`
Rotates this transform to align the direction with the camera.
- `basis`
A custom basis for representing this transform’s coordinate system.
- `visible`
This property holds whether the item is visible.
- property basis#
A custom basis for representing this transform’s coordinate system.
- property look_at#
Rotates this transform to align the direction with the camera.
- property scale_to#
Which space the current transform will be rescaled before applying the matrix. It’s useful to make the object the same size regardless the distance to the camera.
- property transform#
Single transformation matrix.