Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KHR_lights_punctual

Hierarchy

  • KHR_lights_punctual

Implements

  • IGLTFExporterExtensionV2

Index

Properties

enabledSearch playground for enabled

enabled: boolean

Defines whether this extension is enabled.

Readonly nameSearch playground for name

name: "KHR_lights_punctual" = "KHR_lights_punctual"

The name of this extension.

requiredSearch playground for required

required: boolean

Defines whether this extension is required

Methods

postExportNodeAsyncSearch playground for postExportNodeAsync

  • Define this method to modify the default behavior when exporting a node

    Parameters

    • context: string

      The context when exporting the node

    • node: Nullable<INode>

      glTF node

    • babylonNode: Node

      BabylonJS node

    • Optional nodeMap: {}

      Node mapping of unique id to glTF node index

      • [key: number]: number

    Returns Promise<Nullable<INode>>

    nullable BABYLON.GLTF2.INode promise

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method