VectorImageProvider

class omni.ui.VectorImageProvider

Bases: ImageProvider

doc

Methods

__init__(self[, source_url])

doc

Attributes

max_mip_levels

Maximum number of mip map levels allowed

source_url

Sets the vector image URL.

__init__(self: omni.ui._ui.VectorImageProvider, source_url: str = None, **kwargs) None

doc

property max_mip_levels

Maximum number of mip map levels allowed

property source_url

Sets the vector image URL. Asset loading doesn’t happen immediately, but rather is started the next time widget is visible, in prepareDraw call.