C# Class ThreejsDemo.BaseDemo

Afficher le fichier Open project: guidovanhilst/SharpThreejs Class Usage Examples

Méthodes publiques

Свойство Type Description
Container Bridge.Html5.Element
DemoCategory string
DemoName string

Protected Properties

Свойство Type Description
Height int
IsActive bool
Width int
camera THREE.PerspectiveCamera
controls THREE.Controls
renderer THREE.Renderer
scene THREE.Scene

Méthodes publiques

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

Méthodes protégées

Méthode Description
UpdateRenderSize ( ) : void
onWindowResize ( Bridge.Html5.Event arg ) : void

Private Methods

Méthode Description
DoInit ( ) : void
IsInit ( ) : bool

Method Details

BaseDemo() public méthode

public BaseDemo ( string name, string category ) : System
name string
category string
Résultat System

Hide() public méthode

public Hide ( ) : void
Résultat void

Init() public méthode

public Init ( ) : void
Résultat void

Render() public méthode

public Render ( ) : void
Résultat void

RequestFrame() public méthode

public RequestFrame ( ) : void
Résultat void

Show() public méthode

public Show ( ) : void
Résultat void

UpdateRenderSize() protected méthode

protected UpdateRenderSize ( ) : void
Résultat void

onWindowResize() protected méthode

protected onWindowResize ( Bridge.Html5.Event arg ) : void
arg Bridge.Html5.Event
Résultat void

Property Details

Container public_oe property

public Element,Bridge.Html5 Container
Résultat Bridge.Html5.Element

DemoCategory public_oe property

public string DemoCategory
Résultat string

DemoName public_oe property

public string DemoName
Résultat string

Height protected_oe property

protected int Height
Résultat int

IsActive protected_oe property

protected bool IsActive
Résultat bool

Width protected_oe property

protected int Width
Résultat int

camera protected_oe property

protected THREE.PerspectiveCamera camera
Résultat THREE.PerspectiveCamera

controls protected_oe property

protected THREE.Controls controls
Résultat THREE.Controls

renderer protected_oe property

protected THREE.Renderer renderer
Résultat THREE.Renderer

scene protected_oe property

protected THREE.Scene scene
Résultat THREE.Scene