Enfusion Script API
Loading...
Searching...
No Matches
BackendImage Interface Reference

Public Member Functions

proto external int GetScales (out notnull array< ImageScale > scales)
 Get the list of available scales.
 
proto external ImageScale GetScale (int width)
 Get a downloaded scale by its width If no suitable scale is downloaded, it return the best downloaded candidate.
 
proto external ImageScale GetMaxScale ()
 Get a max available scale.
 
proto external ImageScale GetLocalScale (int width)
 Get a downloaded scale by its width If no suitable scale is downloaded, it return the best downloaded candidate.
 

Member Function Documentation

◆ GetLocalScale()

proto external ImageScale BackendImage.GetLocalScale ( int width)

Get a downloaded scale by its width If no suitable scale is downloaded, it return the best downloaded candidate.

◆ GetMaxScale()

proto external ImageScale BackendImage.GetMaxScale ( )

Get a max available scale.

◆ GetScale()

proto external ImageScale BackendImage.GetScale ( int width)

Get a downloaded scale by its width If no suitable scale is downloaded, it return the best downloaded candidate.

◆ GetScales()

proto external int BackendImage.GetScales ( out notnull array< ImageScale > scales)

Get the list of available scales.


The documentation for this interface was generated from the following file: