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

Alias type for number array or Float32Array

IndicesArray

IndicesArray: number[] | Int32Array | Uint32Array | Uint16Array

Alias type for number array or Float32Array or Int32Array or Uint32Array or 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

Alias type for value that can be null

PointerMoveStageAction

PointerMoveStageAction: function

Strong typing of a pointer move action.

Type declaration

PointerUpDownStageAction

PointerUpDownStageAction: function

Strong typing of a pointer up/down action.

Type declaration

PostProcessOptions

PostProcessOptions: object

Type declaration

  • height: number
  • width: number

RenderTargetsStageAction

RenderTargetsStageAction: function

Strong typing of a render target action.

Type declaration

RenderingGroupStageAction

RenderingGroupStageAction: function

Strong typing of a RenderingGroup related stage step action

Type declaration

    • (renderingGroupId: number): void
    • Parameters

      • renderingGroupId: number

      Returns void

RenderingMeshStageAction

RenderingMeshStageAction: function

Strong typing of a Mesh Render related stage step action

Type declaration

SimpleStageAction

SimpleStageAction: function

Strong typing of a simple stage step action

Type declaration

    • (): void
    • Returns void

double

double: number

Alias type for number that are doubles.

ignorenaming

float

float: number

Alias type for number that are floats

ignorenaming

int

int: number

Alias type for number that are integer

ignorenaming

Variables

CameraInputTypes

CameraInputTypes: __type

This is a list of all the different input types that are available in the application. Fo instance: ArcRotateCameraGamepadInput...

Const Epsilon

Epsilon: 0.001 = 0.001

Constant used to define the minimal number value in Babylon.js

ignorenaming

Const ToGammaSpace

ToGammaSpace: number

Constant used to convert a value to gamma space

ignorenaming

Const ToLinearSpace

ToLinearSpace: 2.2 = 2.2

Constant used to convert a value to linear space

ignorenaming

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