Options
All
  • Public
  • Public/Protected
  • All
Menu

Complete coreSystem with more assets needed for an Intale

Hierarchy

Index

Constructors

constructor

  • new system(container: HTMLElement): system

Properties

animationManager

animationManager: animationManager

Manage all the animations only for this 3D Scene

canvas

canvas: HTMLCanvasElement

Canvas used to draw the 3D scene

container

container: HTMLElement

Element where the 3D Scene will be drawn

engine

engine: Engine

BabylonJS Engine

freecamera

freecamera: FreeCamera

BabylonJS FreeCamera

glowLayer

glowLayer: GlowLayer

BabylonJS GlowLayer

guicamera

guicamera: FreeCamera

GUI Camera used to render UI Assets

guivrcamera

guivrcamera: VRDeviceOrientationFreeCamera

The VR mode needs its own GUI Camera

highlighter

highlighter: HighlightLayer

BabylonJS HighlightLayer

loader

loader: loader

Allow to load any content only for this 3D Scene

maxScaling

maxScaling: number = 1

Max Hardware scaling of BabylonJS Engine

scene

scene: Scene

BabylonJS Scene

sceneAdvancedTexture

sceneAdvancedTexture: AdvancedDynamicTexture

Texture linked to guicamera and which contains all UI Assets (Text, Bar, Label, etc)

shadowGenerators

shadowGenerators: Array<ShadowGenerator> = []

List of all the shadowGenerator so that we can choose which mesh will cast shadow

shadowMeshRenderlist

shadowMeshRenderlist: Array<Mesh> = []

List of all the Meshes to cast a shadow

vrcamera

vrcamera: VRDeviceOrientationFreeCamera

VRCamera in case user want to see the Intale in VR Mode

waterMaterials

waterMaterials: Array<WaterMaterial> = []

List of all the WaterMaterial so that we can add new mesh in its renderList

waterMeshRenderlist

waterMeshRenderlist: Array<Mesh> = []

List of all the Meshes to be rendered by water

Methods

buildScene

  • buildScene(): void

getBrowser

  • getBrowser(): string
  • Depending on the browser, some styling might change

    Returns string

launchRender

  • launchRender(): void

stopRender

  • stopRender(): void

takeScreenshot

  • takeScreenshot(size: size, callback: Function): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc