Class SkyboxCustomTextureDto (Inputs.BabylonScene)
Constructors
constructor
new SkyboxCustomTextureDto( textureUrl?: string, textureSize?: number, size?: number, blur?: number, environmentIntensity?: number, hideSkybox?: boolean, enableGroundProjection?: boolean, projectedGroundRadius?: number, projectedGroundHeight?: number,): SkyboxCustomTextureDto Parameters
OptionaltextureUrl: stringOptionaltextureSize: numberOptionalsize: numberOptionalblur: numberOptionalenvironmentIntensity: numberOptionalhideSkybox: booleanOptionalenableGroundProjection: booleanOptionalprojectedGroundRadius: numberOptionalprojectedGroundHeight: number
Properties
OptionaltextureUrl
textureUrl?: string
OptionaltextureSize
textureSize?: number
size
size: number
blur
blur: number
environmentIntensity
environmentIntensity: number
OptionalhideSkybox
hideSkybox?: boolean
OptionalenableGroundProjection
enableGroundProjection?: boolean
OptionalprojectedGroundRadius
projectedGroundRadius?: number
OptionalprojectedGroundHeight
projectedGroundHeight?: number
供
babylon.scene.enableSkyboxCustomTexture使用:通过 URL 指定你自己的天空纹理、其尺寸,以及与内置天空相同的大小、模糊、强度和可见性选项。