GetAssetContent
所属类:
描述
获取模型的资源内容对象。用于访问模型的子资源,如材质、纹理等
参数
名称 | 类型 | 默认 | 描述 |
|---|---|---|---|
| meshIndices | table | Mesh索引数组(table),包含要查询的Mesh索引列表 | |
| resType | AssetResType | 资源类型(AssetResType枚举),用于指定要获取的资源类型 | |
| index | int | 资源索引(整数),用于指定在资源列表中的索引位置 |
返回值
返回类型 | 概要 |
|---|---|
| SandboxNode | 返回资源内容对象(SandboxNode),如果指定的资源不存在则返回nil |
