Interface: IGLTFLoaderOptions

查看 llm.txt

最后一次编辑于 2026-10-22

Table of contents

Properties

Properties

ignoreError

• ignoreError: number[]

(基础库2.31.1及之后) 可以忽略xr-frame对GLTF模型的某一些限制,来强行渲染有问题的GLTF模型。 ErrorCode会在渲染模型失败后,由console报出。 填写-1则忽略所有限制。


preserveRaw

• preserveRaw: boolean

(基础库2.32.1及之后) 开启了之后会在GLTFModel中保留原始json。