DisplayMode

enum DisplayMode : Enum<DisplayMode>

The DisplayMode sets how the com.pico.spatial.core.ecs.VideoComponent displays 3D source videos containing binocular parallax, such as SIDE_BY_SIDE, TOP_AND_DOWN, and MV-HEVC 3D format videos.

  • When set to MONO, the video is displayed as a single view without stereo effect.

  • When set to STEREO, the video is displayed with stereo effect in a stereo view.

This setting serves as a toggle to control 3D display on or off.

Note: DisplayMode has no effect when playing 2D videos.

Entries

Link copied to clipboard

The NONE display mode is the initial state of com.pico.spatial.core.ecs.VideoComponent, VideoComponent will display the video by VideoDimensionMode. This is the default value of DisplayMode.

Link copied to clipboard

The MONO display mode,when the video is 3D video, the video will be displayed in a single view with no stereo effect.

Link copied to clipboard

The STEREO display mode,when the video is 3D video, the video will be displayed in a stereo view with stereo effect.

Properties

Link copied to clipboard
val entries: EnumEntries<DisplayMode>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun valueOf(value: String): DisplayMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<DisplayMode>

Returns an array containing the constants of this enum type, in the order they're declared.