BABYLON

Index

Modules

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

ActiveMeshStageAction

Find examples in Playground
ActiveMeshStageAction: function

Strong typing of a Active Mesh related stage step action

Type declaration

BabylonFileParser

Find examples in Playground
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

Find examples in Playground
CameraStageAction: function

Strong typing of a Camera related stage step action

Type declaration

    • Parameters

      Returns void

DataArray

Find examples in Playground
DataArray: number[] | ArrayBuffer | ArrayBufferView

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

EvaluateSubMeshStageAction

Find examples in Playground
EvaluateSubMeshStageAction: function

Strong typing of a Evaluate Sub Mesh related stage step action

Type declaration

FloatArray

Find examples in Playground
FloatArray: number[] | Float32Array

Alias type for number array or Float32Array

IndicesArray

Find examples in Playground
IndicesArray: number[] | Int32Array | Uint32Array | Uint16Array

Alias type for number array or Float32Array or Int32Array or Uint32Array or Uint16Array

IndividualBabylonFileParser

Find examples in Playground
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

Find examples in Playground
MeshStageAction: function

Strong typing of a Mesh related stage step action

Type declaration

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

      Returns boolean

NodeConstructor

Find examples in Playground
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

Find examples in Playground
Nullable: T | null

Alias type for value that can be null

PointerMoveStageAction

Find examples in Playground
PointerMoveStageAction: function

Strong typing of a pointer move action.

Type declaration

PointerUpDownStageAction

Find examples in Playground
PointerUpDownStageAction: function

Strong typing of a pointer up/down action.

Type declaration

PostProcessOptions

Find examples in Playground
PostProcessOptions: object

Size options for a post process

Type declaration

  • height: number
  • width: number

RenderTargetsStageAction

Find examples in Playground
RenderTargetsStageAction: function

Strong typing of a render target action.

Type declaration

RenderingGroupStageAction

Find examples in Playground
RenderingGroupStageAction: function

Strong typing of a RenderingGroup related stage step action

Type declaration

    • (renderingGroupId: number): void
    • Parameters

      • renderingGroupId: number

      Returns void

RenderingMeshStageAction

Find examples in Playground
RenderingMeshStageAction: function

Strong typing of a Mesh Render related stage step action

Type declaration

SimpleStageAction

Find examples in Playground
SimpleStageAction: function

Strong typing of a simple stage step action

Type declaration

    • (): void
    • Returns void

double

Find examples in Playground
double: number

Alias type for number that are doubles.

ignorenaming

float

Find examples in Playground
float: number

Alias type for number that are floats

ignorenaming

int

Find examples in Playground
int: number

Alias type for number that are integer

ignorenaming

Variables

Const Epsilon

Find examples in Playground
Epsilon: 0.001 = 0.001

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

ignorenaming

Const ToGammaSpace

Find examples in Playground
ToGammaSpace: number

Constant used to convert a value to gamma space

ignorenaming

Const ToLinearSpace

Find examples in Playground
ToLinearSpace: 2.2 = 2.2

Constant used to convert a value to linear space

ignorenaming

Functions

className

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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

Find examples in Playground
  • 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