Options
All
  • Public
  • Public/Protected
  • All
Menu

Manage all the essential assets needed to build a 3D scene (Engine, Scene Cameras, etc)

The system is really important as it is often sent in every other class created to manage core assets

Hierarchy

Index

Constructors

constructor

  • new coreSystem(container: HTMLElement): coreSystem

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

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

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

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

launchRender

  • launchRender(): void
  • Allow to launch scene rendering (when everything is loaded for instance)

    Returns void

stopRender

  • stopRender(): void

takeScreenshot

  • takeScreenshot(size: size, callback: Function): void
  • Take a screenshot of the current scene generating an image buffer

    Parameters

    • size: size
    • callback: Function

    Returns 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