-
Notifications
You must be signed in to change notification settings - Fork 0
Renderer
Gerd Christian Kunze edited this page Aug 22, 2013
·
3 revisions
Engine.Renderer()
Methods
Display()Width()Height()
Use specific Html-Element for three.js Renderer-Output
Engine.Renderer().Display( 'div#element-id' );Size of the Display will be inherited from Html-Element (fill)
Use a custom size for Display
Engine.Renderer().Width( 800 ).Height( 600 );
Size of the Display may be smaller then Html-Element. WARNING: Controls will be bound to the whole Html-Element!