大约有 2,796 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0103 秒)
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
...-1 将准备好的图片放置项目资源目录下,并预加载资源,获取texture 准备好的图片head3.png 放置资源目录下 获取texture Laya.loader.load('head3.png',Handler.create(this,onTextureLoaded)); } private var texture:Texture; private function onTextureLoaded():void { textur...
来源: Laya_社区 发布时间: 20170324
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指...
来源: laya_api 发布时间: 20170929
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中...
来源: Laya2.0_api 发布时间: 20190513
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...imatorStateScript | null Defined in laya/components/AnimatorState2D.ts:231 获取脚本。 Parameters type: typeof AnimatorStateScript 组件类型。 Returns AnimatorStateScript | null 脚本。 getScripts getScripts(type: typeof AnimatorStateScript): AnimatorStateScript[] | null Defined in laya/co...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231102
...佳的选择。 Layabox开发者QQ群 QQ群号:330223972 点击此处获取原文 2016-02-26 1 0 分享 微博 QZONE 微信 ourme 赞同来自: layabox 期待中 2016-03-21 1 1 分享 微博 QZONE 微信 crylg 赞同来自: 能深度剖析一下,为什么性能会优于cocos 吗 2016-04-28 0 ...
来源: Laya_社区 发布时间: 20160226
...,有没有官方人员帮忙解决一下啊 请问有没有方法能够获取“鼠标是否处于按下状态”? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 微信小程序—未找到入口 app.json 文件,或...
来源: Laya_社区 发布时间: 20161103
...tn1.getChildByName("btn") as laya.ui.Button; //问题一: 这里为什么获取不到子node呢?打印显示btn1_btn为null console.log(btn1_btn); // btn1_btn.label="first"; this.myvbox.addChild(btn1); var btn2=new ui.test.view_btnUI(); var btn2_btn:laya.ui.Button=btn2.getChildByName("btn") as l...
来源: Laya_社区 发布时间: 20170725