C# Class ThreejsDemo.BaseDemo

Mostra file Open project: guidovanhilst/SharpThreejs Class Usage Examples

Public Properties

Property Type Description
Container Bridge.Html5.Element
DemoCategory string
DemoName string

Protected Properties

Property Type Description
Height int
IsActive bool
Width int
camera THREE.PerspectiveCamera
controls THREE.Controls
renderer THREE.Renderer
scene THREE.Scene

Public Methods

Method Description
BaseDemo ( string name, string category ) : System
Hide ( ) : void
Init ( ) : void
Render ( ) : void
RequestFrame ( ) : void
Show ( ) : void

Protected Methods

Method Description
UpdateRenderSize ( ) : void
onWindowResize ( Bridge.Html5.Event arg ) : void

Private Methods

Method Description
DoInit ( ) : void
IsInit ( ) : bool

Method Details

BaseDemo() public method

public BaseDemo ( string name, string category ) : System
name string
category string
return System

Hide() public method

public Hide ( ) : void
return void

Init() public method

public Init ( ) : void
return void

Render() public method

public Render ( ) : void
return void

RequestFrame() public method

public RequestFrame ( ) : void
return void

Show() public method

public Show ( ) : void
return void

UpdateRenderSize() protected method

protected UpdateRenderSize ( ) : void
return void

onWindowResize() protected method

protected onWindowResize ( Bridge.Html5.Event arg ) : void
arg Bridge.Html5.Event
return void

Property Details

Container public_oe property

public Element,Bridge.Html5 Container
return Bridge.Html5.Element

DemoCategory public_oe property

public string DemoCategory
return string

DemoName public_oe property

public string DemoName
return string

Height protected_oe property

protected int Height
return int

IsActive protected_oe property

protected bool IsActive
return bool

Width protected_oe property

protected int Width
return int

camera protected_oe property

protected THREE.PerspectiveCamera camera
return THREE.PerspectiveCamera

controls protected_oe property

protected THREE.Controls controls
return THREE.Controls

renderer protected_oe property

protected THREE.Renderer renderer
return THREE.Renderer

scene protected_oe property

protected THREE.Scene scene
return THREE.Scene