Package | laya.d3.resource.models |
Class | public class Sky |
Inheritance | Sky laya.resource.Resource |
Subclasses | SkyBox, SkyDome |
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 |
Method | Defined By | ||
---|---|---|---|
Sky()
创建一个 Sky 实例。
| Sky |
Constant | Defined By | ||
---|---|---|---|
ALPHABLENDING : int = 2 [static] | Sky | ||
DIFFUSETEXTURE : int = 3 [static] | Sky | ||
INTENSITY : int = 1 [static] | Sky | ||
MVPMATRIX : int = 0 [static] | Sky |
alphaBlending | property |
alphaBlending:Number
获取透明混合度。
public function get alphaBlending():Number
public function set alphaBlending(value:Number):void
colorIntensity | property |
colorIntensity:Number
获取颜色强度。
public function get colorIntensity():Number
public function set colorIntensity(value:Number):void
envDiffuseSHBlue | property |
envDiffuseSHBlue:Float32Array
[write-only] public function set envDiffuseSHBlue(value:Float32Array):void
envDiffuseSHGreen | property |
envDiffuseSHGreen:Float32Array
[write-only] public function set envDiffuseSHGreen(value:Float32Array):void
envDiffuseSHRed | property |
envDiffuseSHRed:Float32Array
[write-only] public function set envDiffuseSHRed(value:Float32Array):void
environmentDiffuse | property |
environmentDiffuse:BaseTexture
获取环境漫反射贴图。
public function get environmentDiffuse():BaseTexture
public function set environmentDiffuse(value:BaseTexture):void
environmentSpecular | property |
environmentSpecular:BaseTexture
获取环境高光贴图。
public function get environmentSpecular():BaseTexture
public function set environmentSpecular(value:BaseTexture):void
Sky | () | Constructor |
public function Sky()
创建一个 Sky
实例。
ALPHABLENDING | Constant |
public static const ALPHABLENDING:int = 2
DIFFUSETEXTURE | Constant |
public static const DIFFUSETEXTURE:int = 3
INTENSITY | Constant |
public static const INTENSITY:int = 1
MVPMATRIX | Constant |
public static const MVPMATRIX:int = 0