LayerMetaType

class omni.kit.property.layer.types.LayerMetaType

Bases: object

A class representing metadata types for a layer.

This class defines various constants that are used to represent different types of metadata associated with a layer. These include temporal information such as start and end times, spatial information such as layer offset and scale, as well as other properties like units and comments.

Methods

Attributes

COMMENT

The index for comments.

DOC

The index for documentation.

END_TIME

The end time code index.

FPS_PER_SECOND

Number of frames per second.

KG_PER_UNIT

The index for kilograms per unit.

LAYER_OFFSET

The index for the layer's offset.

LAYER_SCALE

The index for the layer's scale factor.

NUM_PROPERTIES

The total number of properties.

START_TIME

The start time code index.

TIMECODES_PER_SECOND

Number of time codes per second.

UNITS

The index for units of measurement.

__init__()
COMMENT = 8

The index for comments.

Type

int

DOC = 9

The index for documentation.

Type

int

END_TIME = 1

The end time code index.

Type

int

FPS_PER_SECOND = 3

Number of frames per second.

Type

int

KG_PER_UNIT = 7

The index for kilograms per unit.

Type

int

LAYER_OFFSET = 5

The index for the layer’s offset.

Type

int

LAYER_SCALE = 6

The index for the layer’s scale factor.

Type

int

NUM_PROPERTIES = 10

The total number of properties.

Type

int

START_TIME = 0

The start time code index.

Type

int

TIMECODES_PER_SECOND = 2

Number of time codes per second.

Type

int

UNITS = 4

The index for units of measurement.

Type

int