Skip to content

sceneParamsInfo

数据结构

md
let sceneParamsInfo = {
    shadow?: boolean; 
    scene?: sceneParam;
    camera?: cameraParams;
    lights?: lightParams[];
    controls?: controlsParams;
    modelList?: modelInfoParams[];
    markerList?: markerListParams[];
    views?: cameraViewParams[];
    helper?: helperParams;
    effectComposer?: effectComposerParams;
    [key: string]: any;
}

参数说明:

属性名说明类型是否必选Default
shadow是否产生阴影boolean
scene场景sceneParam
camera相机cameraParams
lights光源lightParams
controls控制器controlsParams
modelList模型列表modelInfoParams
markerList标记列表markerListParams
views视觉参数cameraViewParams
helper辅助线helperParams
effectComposer效果编辑器effectComposerParams