AspectRatioPolicy

class omni.ui.scene.AspectRatioPolicy

Bases: pybind11_object

Members:

STRETCH

PRESERVE_ASPECT_FIT

PRESERVE_ASPECT_CROP

PRESERVE_ASPECT_VERTICAL

PRESERVE_ASPECT_HORIZONTAL

Methods

__init__(self, value)

Attributes

PRESERVE_ASPECT_CROP

PRESERVE_ASPECT_FIT

PRESERVE_ASPECT_HORIZONTAL

PRESERVE_ASPECT_VERTICAL

STRETCH

name

value

__init__(self: omni.ui_scene._scene.AspectRatioPolicy, value: int) None
property name