Smart Gallery v1.1
 
Loading...
Searching...
No Matches
VideoContent Class Referenceabstract

The base class for content types that use the VideoPlayer component to display content. More...

Inheritance diagram for VideoContent:
RawImageContent ContentType LocalVideoContent RemoteVideoContent

Public Member Functions

override void Dispose ()
 Disposes the content.
 

Public Attributes

bool loop
 Whether the video should be played in a loop.
 

Protected Member Functions

override RectTransform LoadContent (Content content)
 Loads the data of the content.
 

Protected Attributes

long lastFrame
 The VideoPlayer component of the content.
 
VideoPlayer videoPlayer
 The VideoPlayer component of the content.
 

Additional Inherited Members

Detailed Description

The base class for content types that use the VideoPlayer component to display content.

Member Function Documentation

◆ LoadContent()

override RectTransform LoadContent ( Content content)
protected

Loads the data of the content.

Parameters
contentThe content.
Returns
The RectTransform of the content.