Transform

class omni.ui.scene.Transform

Bases: AbstractContainer

Transforms children with component affine transformations.

Methods

__init__(*args, **kwargs)

Overloaded function.

Attributes

basis

A custom basis for representing this transform's coordinate system.

look_at

Rotates this transform to align the direction with the camera.

scale_to

Which space the current transform will be rescaled before applying the matrix.

transform

Single transformation matrix.

__init__(*args, **kwargs)

Overloaded function.

  1. __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.

  1. __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.

class LookAt

Bases: pybind11_object

Members:

NONE

CAMERA

property name
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.