API

Implements

  • IGLTFExporterExtensionV2
Index
enabled: boolean = true

Defines whether this extension is enabled.

name: "EXT_lights_area" = NAME

The name of this extension.

required: boolean = false

Defines whether this extension is required

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

    Parameters

    • context: string

      The context when exporting the node

    • node: INode

      glTF node

    • babylonNode: Node

      BabylonJS node

    • nodeMap: Map<Node, number>

      Node mapping of babylon node to glTF node index

    • convertToRightHanded: boolean

      Flag to convert the values to right-handed

    Returns Promise<Nullable<INode>>

    nullable INode promise