OGLStandaloneViewport.kl

Types

OGLStandaloneViewport (object)

バージョン 1.14.0 で追加.

The OGLStandaloneViewport inherits InlineViewport object to represent a viewport in OpenGL.

Members

Integer windowId the ID of the window holding the OpenGL context. this is used by the C++ standalone for example for using the Oculus Rift SDK rendering.
Boolean responsibleForSwappingBuffers by default we expect the host application to swap buffers. custom callbacks might be changing this.
Color bgColor the background color used for glClearColor
InlineInstance gridInstance the scene grid
InlineInstance planeInstance the stage plane (blue route)
InlineInstance floorInstance the stage floow (dark)
Boolean drawLicensingOverlay determins if we should draw a licensing overlay
String licensingOverlayTexture the path to the licensing overlay texture
Boolean clear if the viewport should be cleared

Methods

  OGLStandaloneViewport ( in OGLStandaloneViewport other )
  OGLStandaloneViewport ()
OGLStandaloneViewport clone ? ()
Boolean draw ! ( io DrawContext context )
Boolean resize ! ( io DrawContext context, in Size width, in Size height )
  setGridVisible ! ( in Boolean state )
  setWireFrame ! ( in Boolean wireFrame )
Boolean setup ! ( io DrawContext context )
  setupLicensingOverlay ! ()