Package | laya.d3.resource.models |
Class | public class SkyBox |
Inheritance | SkyBox Sky laya.resource.Resource |
Sky
类用于创建天空盒。
Property | Defined By | ||
---|---|---|---|
alphaBlending : Number
获取透明混合度。
| Sky | ||
colorIntensity : Number
获取颜色强度。
| Sky | ||
envDiffuseSHBlue : Float32Array [write-only] | Sky | ||
envDiffuseSHGreen : Float32Array [write-only] | Sky | ||
envDiffuseSHRed : Float32Array [write-only] | Sky | ||
environmentDiffuse : BaseTexture
获取环境漫反射贴图。
| Sky | ||
environmentSpecular : BaseTexture
获取环境高光贴图。
| Sky | ||
textureCube : TextureCube
获取天空立方体纹理。
| SkyBox |
Method | Defined By | ||
---|---|---|---|
SkyBox()
创建一个 SkyBox 实例。
| SkyBox | ||
_render(state:RenderState):void [override] | SkyBox |
textureCube | property |
textureCube:TextureCube
获取天空立方体纹理。
public function get textureCube():TextureCube
public function set textureCube(value:TextureCube):void
SkyBox | () | Constructor |
public function SkyBox()
创建一个 SkyBox
实例。
_render | () | method |