Skip to content

KBE3D / KBCore / Cesium / removeExtension

函数: removeExtension()

removeExtension(gltf: any, extension: string): any

Removes an extension from gltf.extensions, gltf.extensionsUsed, gltf.extensionsRequired, and any other objects in the glTF if it is present.

参数

gltf

any

A javascript object containing a glTF asset.

extension

string

The extension to remove.

返回

any

The extension data removed from gltf.extensions.

KBE3D @3.0.0 Copyright © 2024-present KBE3D