Api Screenshot
class

Screenshot

public class Screenshot

Constructors

Screenshot()

Properties

Name Type Description
Created DateTime
Width Int32
Height Int32
Url String
Thumb String
IsVideo Boolean True if this is a loading screen rather than a regular screenshot

Methods

String GetThumbUrl(Int32 width, Int32 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.

Assembly: Sandbox.Engine Declaring Type: Package Full Name: Sandbox.Package.Screenshot