Appearance
fbxLayer
FbxLayer
Kind: global class
new FbxLayer(renderer)
fbx 模型图层
Param | Type | Description |
---|---|---|
renderer | ftthree.renderer | 渲染器 |
fbxLayer.addFBXModel(url, key, config, isInstance, callback, progress)
加载 FBX 格式的模型
Kind: instance method of FbxLayer
Param | Type | Description |
---|---|---|
url | string | fbx 地址 |
key | string | fbx 图层名称 |
config | object | 需要存储在 fbx 的要素信息 |
isInstance | ||
callback | function | 回调函数(返回模型以及模型动画) |
progress | function | 加载进程回调 |