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

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

Inheritance diagram for RawImageContent:
ContentType AudioContent RemoteTextureContent TextureContent VideoContent LocalVideoContent RemoteVideoContent

Protected Member Functions

void CreateDisplayTarget (Content content)
 Creates the display target for the content.
 
override RectTransform LoadContent (Content content)
 Loads the content.
 
void LoadContentData (Content content)
 Loads the data of the content.
 
bool ValidateProperties ()
 Validates the properties of the content.
 

Protected Attributes

RawImage contentRawImage
 The RawImage component of the content.
 

Additional Inherited Members

Detailed Description

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

Member Function Documentation

◆ CreateDisplayTarget()

void CreateDisplayTarget ( Content content)
protected

Creates the display target for the content.

Parameters
contentThe content.

◆ LoadContent()

override RectTransform LoadContent ( Content content)
protected

Loads the content.

Parameters
contentThe content.
Returns
The RectTransform of the content.

◆ LoadContentData()

void LoadContentData ( Content content)
abstractprotected

Loads the data of the content.

Parameters
contentThe content.

◆ ValidateProperties()

bool ValidateProperties ( )
abstractprotected

Validates the properties of the content.

Returns
Whether the properties are valid.