Options
All
  • Public
  • Public/Protected
  • All
Menu

Holds a collection of exporter options and parameters

Hierarchy

  • IExportOptions

Index

Properties

animationSampleRate?: number

The sample rate to bake animation curves. Defaults to 1 / 60.

exportUnusedUVs?: boolean

Indicates if unused vertex uv attributes should be included in export. Defaults to false.

exportWithoutWaitingForScene?: boolean

Begin serialization without waiting for the scene to be ready. Defaults to false.

includeCoordinateSystemConversionNodes?: boolean

Indicates if coordinate system swapping root nodes should be included in export. Defaults to false.

deprecated

Please use removeNoopRootNodes instead

removeNoopRootNodes?: boolean

Remove no-op root nodes when possible. Defaults to true.

Methods

  • metadataSelector(metadata: any): any
  • Function used to extract the part of node's metadata that will be exported into glTF node extras

    Parameters

    • metadata: any

      source metadata to read from

    Returns any

    the data to store to glTF node extras

  • shouldExportAnimation(animation: Animation): boolean
  • Function which indicates whether an animation on the scene should be exported or not

    Parameters

    Returns boolean

    boolean, which indicates whether the animation should be exported (true) or not (false)

  • shouldExportNode(node: Node): boolean
  • Function which indicates whether a babylon node should be exported or not

    Parameters

    • node: Node

      source Babylon node. It is used to check whether it should be exported to glTF or not

    Returns boolean

    boolean, which indicates whether the node should be exported (true) or not (false)

Legend

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

Settings

Theme