Skip to content
On this page

fbxLayer

FbxLayer

Kind: global class

new FbxLayer(renderer)

fbx 模型图层

ParamTypeDescription
rendererftthree.renderer渲染器

fbxLayer.addFBXModel(url, key, config, isInstance, callback, progress)

加载 FBX 格式的模型

Kind: instance method of FbxLayer

ParamTypeDescription
urlstringfbx 地址
keystringfbx 图层名称
configobject需要存储在 fbx 的要素信息
isInstance
callbackfunction回调函数(返回模型以及模型动画)
progressfunction加载进程回调