Smart Gallery v1.1
 
Loading...
Searching...
No Matches
RemoteTextureContent Class Reference

Class for displaying remote textures. More...

Inheritance diagram for RemoteTextureContent:
RawImageContent ContentType

Static Public Member Functions

static Frame CreateFrame (string url, RemoteTextureSource source=RemoteTextureSource.Url)
 Creates a frame with the remote texture.
 

Public Attributes

RemoteTextureData data
 The data of the remote texture.
 

Protected Member Functions

override void LoadContentData (Content content)
 Loads the data of the content.
 
override bool ValidateProperties ()
 Validates the properties of the content.
 

Properties

override bool allowZoom [get]
 Whether the content can be zoomed.
 
override string name [get]
 The name of the content type.
 

Additional Inherited Members

Detailed Description

Class for displaying remote textures.

Member Function Documentation

◆ CreateFrame()

static Frame CreateFrame ( string url,
RemoteTextureSource source = RemoteTextureSource::Url )
static

Creates a frame with the remote texture.

Parameters
urlThe URL of the texture.
sourceThe source of the texture.
Returns
The frame.

◆ LoadContentData()

override void LoadContentData ( Content content)
protected

Loads the data of the content.

Parameters
contentThe content.

◆ ValidateProperties()

override bool ValidateProperties ( )
protected

Validates the properties of the content.

Returns
Whether the properties are valid.