Interface BackgroundEnvironmentOptions

interface BackgroundEnvironmentOptions {
    axesHelperSize?: number;
    background?: ColorRepresentation | BackgroundTexture;
    backgroundBlurriness?: number;
    backgroundIntensity?: number;
    defaultLights?: boolean;
    environment?: BackgroundTexture;
    environmentSameAsBackground?: boolean;
    gridHelper?: GridHelperModuleOptions;
    roomEnvironment?: boolean;
    showAxesHelper?: boolean;
}

Properties

axesHelperSize?: number

坐标轴辅助对象大小

background?: ColorRepresentation | BackgroundTexture

背景

backgroundBlurriness?: number

背景模糊. (0-1) 缺省 0

backgroundIntensity?: number

背景增强 缺省1.

defaultLights?: boolean
environment?: BackgroundTexture

环境

environmentSameAsBackground?: boolean

环境是否与背景一样 默认true

网格

roomEnvironment?: boolean

自动创建房间环境

showAxesHelper?: boolean

绘制坐标轴辅助对象