BABYLON

Index

Modules

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

ActiveMeshStageAction

ActiveMeshStageAction: function

Strong typing of a Active Mesh related stage step action

Type declaration

BabylonFileParser

BabylonFileParser: function

Defines how the parser contract is defined. These parsers are used to parse a list of specific assets (like particle systems, etc..)

Type declaration

CameraStageAction

CameraStageAction: function

Strong typing of a Camera related stage step action

Type declaration

    • Parameters

      Returns void

DataArray

DataArray: number[] | ArrayBuffer | ArrayBufferView

Alias for types that can be used by a Buffer or VertexBuffer.

EvaluateSubMeshStageAction

EvaluateSubMeshStageAction: function

Strong typing of a Evaluate Sub Mesh related stage step action

Type declaration

FloatArray

FloatArray: number[] | Float32Array

IndicesArray

IndicesArray: number[] | Int32Array | Uint32Array | Uint16Array

IndividualBabylonFileParser

IndividualBabylonFileParser: function

Defines how the individual parser contract is defined. These parser can parse an individual asset

Type declaration

    • (parsedData: any, scene: Scene, rootUrl: string): any
    • Parameters

      • parsedData: any
      • scene: Scene
      • rootUrl: string

      Returns any

MeshStageAction

MeshStageAction: function

Strong typing of a Mesh related stage step action

Type declaration

    • (mesh: AbstractMesh, hardwareInstancedRendering: boolean): boolean
    • Parameters

      Returns boolean

NodeConstructor

NodeConstructor: function

Defines how a node can be built from a string name.

Type declaration

    • (name: string, scene: Scene, options?: any): function
    • Parameters

      • name: string
      • scene: Scene
      • Optional options: any

      Returns function

Nullable

Nullable: T | null

PostProcessOptions

PostProcessOptions: object

Type declaration

  • height: number
  • width: number

RenderingGroupStageAction

RenderingGroupStageAction: function

Strong typing of a RenderingGroup related stage step action

Type declaration

    • (renderingGroupId: number): void
    • Parameters

      • renderingGroupId: number

      Returns void

SimpleStageAction

SimpleStageAction: function

Strong typing of a simple stage step action

Type declaration

    • (): void
    • Returns void

double

double: number

float

float: number

int

int: number

Variables

CameraInputTypes

CameraInputTypes: __type

CollisionWorker

CollisionWorker: string

Const Epsilon

Epsilon: 0.001 = 0.001

Const ToGammaSpace

ToGammaSpace: number

Const ToLinearSpace

ToLinearSpace: 2.2 = 2.2

WorkerIncluded

WorkerIncluded: boolean

Functions

className

  • className(name: string, module?: string): function
  • Use this className as a decorator on a given class definition to add it a name and optionally its module. You can then use the Tools.getClassName(obj) on an instance to retrieve its class name. This method is the only way to get it done in all cases, even if the .js file declaring the class is minified

    Parameters

    • name: string

      The name of the class, case should be preserved

    • Optional module: string

      The name of the Module hosting the class, optional, but strongly recommended to specify if possible. Case should be preserved.

    Returns function

      • (target: Object): void
      • Parameters

        • target: Object

        Returns void

expandToProperty

  • expandToProperty(callback: string, targetKey?: Nullable<string>): function
  • Parameters

    • callback: string
    • Optional targetKey: Nullable<string>

    Returns function

      • (target: any, propertyKey: string): void
      • Parameters

        • target: any
        • propertyKey: string

        Returns void

serialize

  • serialize(sourceName?: string): function
  • Parameters

    • Optional sourceName: string

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

serializeAsCameraReference

  • serializeAsCameraReference(sourceName?: string): function
  • Decorator used to define property that can be serialized as reference to a camera

    Parameters

    • Optional sourceName: string

      defines the name of the property to decorate

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

serializeAsColor3

  • serializeAsColor3(sourceName?: string): function
  • Parameters

    • Optional sourceName: string

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

serializeAsColor4

  • serializeAsColor4(sourceName?: string): function
  • Parameters

    • Optional sourceName: string

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

serializeAsColorCurves

  • serializeAsColorCurves(sourceName?: string): function
  • Parameters

    • Optional sourceName: string

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

serializeAsFresnelParameters

  • serializeAsFresnelParameters(sourceName?: string): function
  • Parameters

    • Optional sourceName: string

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

serializeAsImageProcessingConfiguration

  • serializeAsImageProcessingConfiguration(sourceName?: string): function
  • Parameters

    • Optional sourceName: string

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

serializeAsMeshReference

  • serializeAsMeshReference(sourceName?: string): function
  • Parameters

    • Optional sourceName: string

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

serializeAsQuaternion

  • serializeAsQuaternion(sourceName?: string): function
  • Parameters

    • Optional sourceName: string

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

serializeAsTexture

  • serializeAsTexture(sourceName?: string): function
  • Parameters

    • Optional sourceName: string

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

serializeAsVector2

  • serializeAsVector2(sourceName?: string): function
  • Parameters

    • Optional sourceName: string

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

serializeAsVector3

  • serializeAsVector3(sourceName?: string): function
  • Parameters

    • Optional sourceName: string

    Returns function

      • (target: any, propertyKey: string | symbol): void
      • Parameters

        • target: any
        • propertyKey: string | symbol

        Returns void

Generated using TypeDoc