DemoApplication

Description

sealed class Tinman.Demo.DemoApplication

Derived from

WidgetApplication

Full source code is included in the Tinman 3D SDK download.

The DemoApplication class is the entry point of the Tinman Demo application.

Public / Constructors

Demo​Application


[ThrowAny]
public constructor DemoApplication → (2)

config in : DemoApplicationConfig

[not-null]
The configuration settings to use.

tutorial opt : TutorialInfoBase = null

The tutorial to run or null to run the browser.

Creates a new instance of DemoApplication.

Public / Methods

Download​Content


[OwnerReturn]
public method DownloadContent → (1)

info in : JsonValue

[not-null]
The JSON info file.

returns → IOperation

The download operation or null if no data needs to be downloaded.

Returns an operation that downloads remote content.

IOException

If an I/O error has occurred.

Main


public static method Main → (1)

tutorial opt : TutorialInfoBase = null

The tutorial to run or null to run the browser.

returns → TinmanError

The error that has caused the application to crash or null.

Runs the Tinman Demo application in stand-alone mode.

Logging

Logger


public static readonly attribute Logger → (ILogger)

The logger object of this class.

Log​Message_​Crash


public static readonly attribute LogMessage_Crash → (ILogMessage)

The Demo Application has crashed because of an unexpected error.

Label parameters:

#0 :
The exception details of the demo application crash.