| Property | Defined By | ||
|---|---|---|---|
| active : Boolean
取是否激活。
| Layer | ||
| activeLayers : int [static]
取Layer激活层。
| Layer | ||
| _currentCameraCullingMask : int [static] 当前相机遮罩。 | Layer | ||
| currentCreationLayer : Layer [static] 当前创建精灵所属遮罩层。 | Layer | ||
| mask : int [read-only]
取蒙版值。
| Layer | ||
| name : String 名字。 | Layer | ||
| number : int [read-only]
取编号。
| Layer | ||
| visible : Boolean
取是否显示。
| Layer | ||
| visibleLayers : int [static]
取Layer显示层。
| Layer | ||
| Property | Defined By | ||
|---|---|---|---|
| _activeLayers : int [static] Layer激活层。 | Layer | ||
| _layerList : Array [static] Layer列表。 | Layer | ||
| _uniqueIDCounter : int = 1 [static] 唯一标识ID计数器。 | Layer | ||
| _visibleLayers : int [static] Layer显示层。 | Layer | ||
| Method | Defined By | ||
|---|---|---|---|
Layer()
创建一个 Layer 实例。
| Layer | ||
getLayerByMask(mask:int):Layer [static]
过蒙版值获取蒙版。
| Layer | ||
getLayerByName(name:String):Layer [static]
过蒙版值获取蒙版。
| Layer | ||
getLayerByNumber(number:int):Layer [static]
过编号获取蒙版。
| Layer | ||
isActive(mask:int):Boolean [static]
过蒙版值获取蒙版是否激活。
| Layer | ||
isVisible(mask:int):Boolean [static]
过蒙版值获取蒙版是否显示。
| Layer | ||
| Constant | Defined By | ||
|---|---|---|---|
| _layerCount : int = 31 [static] Layer数量。 | Layer | ||
| _activeLayers | property |
protected static var _activeLayers:intLayer激活层。
| _currentCameraCullingMask | property |
public static var _currentCameraCullingMask:int当前相机遮罩。
| _layerList | property |
protected static var _layerList:ArrayLayer列表。
| _uniqueIDCounter | property |
protected static var _uniqueIDCounter:int = 1唯一标识ID计数器。
| _visibleLayers | property |
protected static var _visibleLayers:intLayer显示层。
| active | property |
active:Boolean取是否激活。
public function get active():Boolean public function set active(value:Boolean):void| activeLayers | property |
activeLayers:int取Layer激活层。
public static function get activeLayers():int public static function set activeLayers(value:int):void| currentCreationLayer | property |
public static var currentCreationLayer:Layer当前创建精灵所属遮罩层。
| mask | property |
mask:int [read-only] 取蒙版值。
public function get mask():int| name | property |
public var name:String名字。
| number | property |
number:int [read-only] 取编号。
public function get number():int| visible | property |
visible:Boolean取是否显示。
public function get visible():Boolean public function set visible(value:Boolean):void| visibleLayers | property |
visibleLayers:int取Layer显示层。
public static function get visibleLayers():int public static function set visibleLayers(value:int):void| Layer | () | Constructor |
public function Layer()
创建一个 Layer 实例。
| getLayerByMask | () | method |
public static function getLayerByMask(mask:int):Layer过蒙版值获取蒙版。
Parameters
mask:int — 编号。
|
Layer — 蒙版。
|
| getLayerByName | () | method |
public static function getLayerByName(name:String):Layer过蒙版值获取蒙版。
Parameters
name:String — 名字。
|
Layer — 蒙版。
|
| getLayerByNumber | () | method |
public static function getLayerByNumber(number:int):Layer过编号获取蒙版。
Parameters
number:int — 编号。
|
Layer — 蒙版。
|
| isActive | () | method |
public static function isActive(mask:int):Boolean过蒙版值获取蒙版是否激活。
Parameters
mask:int — 蒙版值。
|
Boolean — 是否激活。
|
| isVisible | () | method |
public static function isVisible(mask:int):Boolean过蒙版值获取蒙版是否显示。
Parameters
mask:int — 蒙版值。
|
Boolean — 是否显示。
|
| _layerCount | Constant |
protected static const _layerCount:int = 31Layer数量。