Skip to content

modelInfo

数据结构

md
let modelInfo = {
    base?: any;
    loadType?: string;
    material?: any;
    modelName?: string;
    modelType?: string;
    modelUrl?: string;
    position?: xyz;
    rotation?: xyz | rotationXYZ;
    scale?: xyz;
    userData?: any;
    visible?: boolean;
    [key: string]: any;
};

参数说明:

属性名说明类型是否必选Default
base基础配置对象any-
loadType模型加载类型string-
material材质配置any-
modelName模型名称string-
modelType模型类型string-
modelUrl模型文件URLstring-
position模型位置坐标xyz-
rotation模型旋转角度xyz | rotationXYZ-
scale模型缩放比例xyz-
userData用户自定义数据any-
visible模型是否可见boolean-