亚洲国产无码在线观看,久久国产精品12,性开放国产精品按摩Av,国产精品啪啪一区二区三区

Skip to content
On this page

skyUtils ?

SkyUtils ?

Kind: global class

new SkyUtils() ?

天空盒

SkyUtils.createSky(radius, widthSegments, heightSegments, skyCenter) ? fthree.Mesh ?

創(chuàng)建帶地平線漸變的天空

Kind: static method of SkyUtils
Returns: fthree.Mesh - sky

ParamTypeDescription
radiusnumber半徑 推薦 radius 最小值為 4000,最大值為 20000
widthSegmentsnumber- 寬度段
heightSegmentsnumber高度段
skyCenterfthree.Vector3天空中心

SkyUtils.createSkyFromTextures(url) ? THREE.Texture ?

貼圖天空盒

Kind: static method of SkyUtils
Returns: THREE.Texture - 天空紋理

ParamTypeDescription
urlstring貼圖路徑

SkyUtils.createSphereSkyBox(radius, map, positions) ? THREE.Mesh ?

球形貼圖天空

Kind: static method of SkyUtils
Returns: THREE.Mesh - sky

ParamTypeDescription
radiusnumber半徑
mapstring貼圖路徑
positionsArray天空盒中心點(diǎn)

SkyUtils.updateSphereSkybox(scene, opts) ?

更新球形天空盒

Kind: static method of SkyUtils

ParamTypeDescription
sceneTHREE.Scene場(chǎng)景
optsobject參數(shù)
opts.radiusnumber半徑
opts.mapstring紋理
opts.positionsArray數(shù)組

SkyUtils.createDynamicSky(opts, animationManager) ?

動(dòng)態(tài)天空

Kind: static method of SkyUtils

ParamTypeDescription
optsobject動(dòng)態(tài)天空參數(shù)
opts.cloudSpeednumber云層流動(dòng)速度
opts.cloudScalenumber云朵大小
opts.cloudIntnumber云層色彩
opts.skycolor1string西方天空顏色
opts.skycolor2string東方天空顏色
opts.radiusnumber半徑
opts.positionArray位置數(shù)組
opts.rotationArray旋轉(zhuǎn)數(shù)組
animationManager*全局動(dòng)畫(huà)管理器