s&box docs

public class Sandbox.Package.Screenshot

Broader workflow and conceptual references connected to this API.

Constructors

Showing 1 constructors

Methods

Showing 1 methods

public string GetThumbUrl(int width, int height)

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.

Properties

Showing 6 properties

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

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

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Package.Screenshot

On this page