Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IExportOptions

Holds a collection of exporter options and parameters

Hierarchy

  • IExportOptions

Index

Properties

Optional animationSampleRateSearch playground for animationSampleRate

animationSampleRate: number

The sample rate to bake animation curves

Optional exportWithoutWaitingForSceneSearch playground for exportWithoutWaitingForScene

exportWithoutWaitingForScene: boolean

Begin serialization without waiting for the scene to be ready

Optional includeCoordinateSystemConversionNodesSearch playground for includeCoordinateSystemConversionNodes

includeCoordinateSystemConversionNodes: boolean

Indicates if coordinate system swapping root nodes should be included in export

Methods

Optional metadataSelectorSearch playground for metadataSelector

  • 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

Optional shouldExportNodeSearch playground for shouldExportNode

  • 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

  • Property
  • Method
  • Constructor
  • Property
  • Static method