Screenshotclass

object→Screenshot
Namespace
global
Assembly
Sandbox.Engine
Declaration
public class Sandbox.Package.Screenshot

Constructors1

Showing 1 constructors

Methods1

Showing 1 methods

public string GetThumbUrl(int width, int height)PUBLIC

Return the URL of a thumbnail matching this exact size. For caching reasons it's going to be best if we can keep this to round number sizes (256, 512 etc) rather than trying to exact fit.

ParameterTypeDescription
widthint—
heightint—
Returns:string—

Properties6

Showing 6 properties

public System.DateTime Sandbox.Package.Screenshot.Created { get; set; }PUBLICGETSET

Returns:DateTime—

public bool Sandbox.Package.Screenshot.IsVideo { get; set; }PUBLICGETSET

True if this is a loading screen rather than a regular screenshot

Returns:bool—

public string Sandbox.Package.Screenshot.Thumb { get; set; }PUBLICGETSET

Returns:string—

public string Sandbox.Package.Screenshot.Url { get; set; }PUBLICGETSET

Returns:string—

On this page