unreal.MediaPlayerOptions

class unreal.MediaPlayerOptions(tracks=[0, - 1, - 1, - 1, - 1, - 1, 0], seek_time=[0, 0, 0, 0, 0], play_on_open=MediaPlayerOptionBooleanOverride.USE_MEDIA_PLAYER_SETTING, loop=MediaPlayerOptionBooleanOverride.USE_MEDIA_PLAYER_SETTING)

Bases: unreal.StructBase

Media Player Options

C++ Source:

  • Module: MediaUtils

  • File: MediaPlayerOptions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • loop (MediaPlayerOptionBooleanOverride): [Read-Write] Loop

  • play_on_open (MediaPlayerOptionBooleanOverride): [Read-Write] Play on Open

  • seek_time (Timespan): [Read-Write] Seek Time

  • tracks (MediaPlayerTrackOptions): [Read-Write] Tracks

property loop

[Read-Write] Loop

Type

(MediaPlayerOptionBooleanOverride)

property play_on_open

[Read-Write] Play on Open

Type

(MediaPlayerOptionBooleanOverride)

property seek_time

[Read-Write] Seek Time

Type

(Timespan)

property tracks

[Read-Write] Tracks

Type

(MediaPlayerTrackOptions)