Package | laya.webgl.shader.d2.value |
Class | public class Value2D |
Inheritance | Value2D ShaderValue Object |
Subclasses | Color2dSV, FillTextureSV, PrimitiveSV, SkinSV, TextureSV |
Property | Defined By | ||
---|---|---|---|
alpha : Number = 1.0 | Value2D | ||
ALPHA : Number = 1.0 | Value2D | ||
color : Array | Value2D | ||
colorAdd : Array | Value2D | ||
defines : ShaderDefines2D | Value2D | ||
fillStyle : DrawStyle | Value2D | ||
filters : Array | Value2D | ||
glTexture : Bitmap | Value2D | ||
mainID : int | Value2D | ||
mmat : Array | Value2D | ||
mul_mmat : Array | Value2D | ||
position : Array | Value2D | ||
_POSITION : Array [static] | Value2D | ||
shader : Shader | Value2D | ||
size : Array | Value2D | ||
strokeStyle : DrawStyle | Value2D | ||
subID : int = 0 | Value2D | ||
TEMPMAT4_ARRAY : Array [static] | Value2D | ||
_TEXCOORD : Array [static] | Value2D | ||
texture : * | Value2D | ||
textureHost : Texture | Value2D | ||
u_mmat2 : Array | Value2D |
Property | Defined By | ||
---|---|---|---|
_cache : Array [static] | Value2D | ||
_typeClass : Object [static] | Value2D |
Method | Defined By | ||
---|---|---|---|
Value2D(mainID:int, subID:int) | Value2D | ||
__init__():void [static] | Value2D | ||
clear():void | Value2D | ||
[static] | Value2D | ||
Value2D | |||
release():void | Value2D | ||
setFilters(value:Array):void | Value2D | ||
Value2D | |||
upload():void | Value2D |
_cache | property |
protected static var _cache:Array
_POSITION | property |
public static var _POSITION:Array
_TEXCOORD | property |
public static var _TEXCOORD:Array
_typeClass | property |
protected static var _typeClass:Object
alpha | property |
public var alpha:Number = 1.0
ALPHA | property |
public var ALPHA:Number = 1.0
color | property |
public var color:Array
colorAdd | property |
public var colorAdd:Array
defines | property |
public var defines:ShaderDefines2D
fillStyle | property |
public var fillStyle:DrawStyle
filters | property |
public var filters:Array
glTexture | property |
public var glTexture:Bitmap
mainID | property |
public var mainID:int
mmat | property |
public var mmat:Array
mul_mmat | property |
public var mul_mmat:Array
position | property |
public var position:Array
shader | property |
public var shader:Shader
size | property |
public var size:Array
strokeStyle | property |
public var strokeStyle:DrawStyle
subID | property |
public var subID:int = 0
TEMPMAT4_ARRAY | property |
public static var TEMPMAT4_ARRAY:Array
texture | property |
public var texture:*
textureHost | property |
public var textureHost:Texture
u_mmat2 | property |
public var u_mmat2:Array
Value2D | () | Constructor |
public function Value2D(mainID:int, subID:int)
mainID:int | |
subID:int |
__init__ | () | method |
public static function __init__():void
clear | () | method |
public function clear():void
create | () | method |
public static function create(mainType:int, subType:int):Value2D
Parameters
mainType:int | |
subType:int |
Value2D |
refresh | () | method |
release | () | method |
public function release():void
setFilters | () | method |
public function setFilters(value:Array):void
Parameters
value:Array |
setValue | () | method |
upload | () | method |
public function upload():void