大约有 1,063 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
Laya_社区(391) Laya2.0_api(241) laya_api(189) Laya2.0_文档(81) Laya_示例(65) Laya2.0_示例(51) Laya3.0_api(32) Laya3.0_文档(13)
...rn */ public function getTileProperties(index:int, id:int, name:String):* { if (_tileProperties[index] && _tileProperties[index][id]) { return _tileProperties[index][id][name]; } ...
来源: Laya_社区 发布时间: 20180502
... null):Context 获取 Canvas 渲染上下文。 HTMLCanvas getMemSize():int 获取内存大小。 HTMLCanvas getTexture():Texture 获取texture实例 HTMLCanvas release():void 释放。 HTMLCanvas size(w:Number, h:Number):void 设置宽高。 HTMLCanvas toBase64(type:String, encoderOp...
来源: Laya2.0_api 发布时间: 20190513
...尔值类型 "boolean" 也可以用Boolean来标记该类型 整数类型 "int" 等价于 { type: Number, fractionDigits: 0 } 正整数类型 "uint" 等价于 { type: Number, fractionDigits: 0 , min: 0 } 多行字符串文本类型 "text" 等价于 { type: string, multiline: true } 任意类型 "any...
来源: Laya3.0_文档 发布时间: 20251010
...9869d48a79>:0) LayaAir3D.exportResource (System.Boolean isDebug, System.Int32 Platformindex, System.String lastname) (at <f23f19a62c944610ba98639869d48a79>:0) LayaAir3D.OnGUI () (at <f23f19a62c944610ba98639869d48a79>:0) System.Reflection.MonoMethod.Invoke (System.Object obj, System.Re...
来源: Laya_社区 发布时间: 20210607
...轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值为ture时:将对此对象使用了scrollRect...
来源: laya_api 发布时间: 20170929
...his.mAnimationArray.length; i = tAnimNum) { mActionIndex = 0; } for (var i:int = 0, n:int = mAnimationArray.length; i < n; i++) { mAnimationArray[i].play(mActionIndex, true); } } } }
来源: Laya2.0_示例 发布时间: 20260303
...t SWFPath:String = "../../../../res/swf/dragon.swf"; private const MCWidth:int = 318; private const MCHeight:int = 406; public function Animation_SWF() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Lay...
来源: Laya_示例 发布时间: 20260303
...画提供的关于换装的功能有: 其中:showSkinByIndex(skinIndex:int):void 根据spine中的皮肤索引一键换装 showSkinByName(name:String):void 根据在spine中的皮肤起的名字一键换装 showSlotSkinByIndex(slotName:String, index:int):void 根据spine中的单个插槽里...
来源: Laya_社区 发布时间: 20161203
...渲染 refreshCard(0,[xxxxxx]); public function refreshCard(index:int,cardArr:Array):void{ var cardList:List = _homeSeceneView["myCard_"+index]; if(cardList){ if(!cardList.visible){ cardL...
来源: Laya_社区 发布时间: 20170310
...e const SWFPath:String = "../../res/swf/dragon.swf"; private const MCWidth:int = 318; private const MCHeight:int = 406; public function Animation_SWF() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Lay...
来源: Laya2.0_示例 发布时间: 20260303