Class SkyboxFromTextureDto (Inputs.BabylonScene)
Constructors
constructor
new SkyboxFromTextureDto( texture?: BaseTexture, size?: number, blur?: number, environmentIntensity?: number, hideSkybox?: boolean, enableGroundProjection?: boolean, projectedGroundRadius?: number, projectedGroundHeight?: number,): SkyboxFromTextureDto Parameters
Optionaltexture: BaseTextureOptionalsize: numberOptionalblur: numberOptionalenvironmentIntensity: numberOptionalhideSkybox: booleanOptionalenableGroundProjection: booleanOptionalprojectedGroundRadius: numberOptionalprojectedGroundHeight: number
Properties
texture
texture: BaseTexture
size
size: number
blur
blur: number
environmentIntensity
environmentIntensity: number
OptionalhideSkybox
hideSkybox?: boolean
OptionalenableGroundProjection
enableGroundProjection?: boolean
OptionalprojectedGroundRadius
projectedGroundRadius?: number
OptionalprojectedGroundHeight
projectedGroundHeight?: number
供
babylon.scene.enableSkyboxFromTexture使用:你已经加载的立方体纹理,以及与内置天空相同的大小、模糊、强度、可见性和地面投影选项。