大约有 1,651 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0055 秒)
Laya_社区(676) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(67) Laya_示例(58) Laya2.0_示例(54)
...mport WebGL = Laya.WebGL; export class Text_BitmapFont { private fontName: string = "diyFont"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.s...
来源: Laya2.0_示例 发布时间: 20260130
...新的 AnimationNode 实例。 Returns AnimationNode Properties name name: string | null = null Defined in laya/d3/animation/AnimationNode.ts:19 节点名称。 Methods addChild addChild(child: AnimationNode): void Defined in laya/d3/animation/AnimationNode.ts:36 添加子节点。 Parameters child:...
来源: Laya3.0_api 发布时间: 20231102
...高及位置" drag="3"> <prop name="skin" tips="按钮皮肤" type="string" default="" group="常用"/> <prop name="bgSkin" tips="按钮选中背景皮肤" type="string" default="gui/menuBtnBg.png" group="常用"/> <prop name="noticeSkin" tips="按钮提示皮肤" type="string" def...
来源: Laya_社区 发布时间: 20161026
...需改两个类): laya.flash.FlashImage public function set src(value:String):void 75行后加入代码 tl.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function ceroor(_ev:IOErrorEvent):void { onerror && onerror(); }); laya.ui.Image 167行 protected function setSource(url:St...
来源: Laya_社区 发布时间: 20160918
... MAXCOLOROVERLIFEGRADIENTCOLORS : int[static] ShuriKenParticle3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node particleRenderer : ShurikenParticleRenderer[read-only] 获取粒子渲染器。 ShuriKenParticle3D ...
来源: Laya2.0_api 发布时间: 20190513
...次问的loadanimation的问题,后面的参数怎么写?里面的 atlas:string,写成"res/atlas/ani_img/explore/a.json"不行. loadAnimation(url:String, loaded:Handler = null, atlas:String = null):Animation 2017-11-06 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...
来源: Laya_社区 发布时间: 20171103
...owner:Sprite3D) 创建一个 Transform3D 实例。 Transform3D event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getForward(forward:Vector3):void 获取向前方向。 Transform3D getRight(right:Vector3):void 获取向右方向。 Transform3D getUp(up:Vector3):void ...
来源: Laya2.0_api 发布时间: 20190513
...。 在 LayaAir.d.ts 中的 MiniAdpter 添加 static downLoadFile(fileUrl:string, fileType:string, callBack:Handler, encoding:string) 声明,在使用的时候,报错。 ReferenceError: wx is not defined at Function.<anonymous>(file:///D:work/laya/laya3D/bin/lib/laya.wxmini.js:504:123) 201...
来源: Laya_社区 发布时间: 20180605
...复我的问题 现在暂时没发现报错,是发现在原生调用String.substr()时候发生些问题。 我举个例子: let color='#FFFFFF' 原生: color.substr(0,0) -> ''; String.prototype.substr = Laya.__substr : color.substr(0,0) -> '#FFFFFF' 覆盖String 的substr...
来源: Laya_社区 发布时间: 20170130
... present in the dictionary. System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.String]].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniDa...
来源: Laya_社区 发布时间: 20180125