Skip to main content
Version: 12 Dec 2024

MLMediaTTML

NameSpace: MagicLeap

MLMediaTTML Summary placeholder. More...

Detailed Description

public class MLMediaTTML; 

Details*

MLMediaTTML description goes here.


Public Attributes

MLTTMLDimen_Unset

An unset position, width, or size.


public const float MLTTMLDimen_Unset = -3.402823466e+38F;


Public Enums

MLTTMLAnchorType

The cue box anchor in the direction of position.

EnumeratorValueDescription
Unset0x7FFFFFFFAn unset anchor type value.
Start0Anchors the left (for horizontal positions) or top (for vertical positions) edge of the cue box.
Middle1Anchors the middle of the cue box.
End2Anchors the right (for horizontal positions) or bottom (for vertical positions) edge of the cue box.

MLTTMLLayoutAlignment

The alignment of the cue text within the cue box.

EnumeratorValueDescription
Unspecified0x7FFFFFFFAn unspecified alignment value.
Normal0Normal alignment relative to text direction.
Center1Centered alignment.
Opposite2Opposite alignment relative to text direction.

MLTTMLLineType

The cue line type.

EnumeratorValueDescription
Unset0x7FFFFFFFAn unset line type value.
Fraction0Line position is fractional position within the viewport.
Number1Line position is number of lines, interpretation also depends on the line anchor type.

MLTTMLTextSizeType

The cue default text size type;

EnumeratorValueDescription
Unset0x7FFFFFFFAn unset text size type value.
Fractional0Text size is measured as a fraction of the viewport size minus the view padding.
FractionalIgnorePadding1Text size is measured as a fraction of the viewport size, ignoring the view padding
Absolute2Text size is measured in number of pixels.