大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0079 秒)
Laya_社区(2610) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya_示例(83) Laya3.0_文档(76) Laya2.0_示例(45)
...位置)。 mouseWheelEnable 是否开启鼠标滚轮滚动,默认值为true。该属性设置滚动对象target以后有效。 touchScrollEnable 是否开启触摸滚动,默认值为true。该属性设置滚动对象target以后有效。 hide 是否隐藏滚动条,默认为false。设为true...
来源: Laya3.0_文档 发布时间: 20230911
...rototype; console.log("kk7") __proto.cleanMe=function(){ this.load.destroy(true); } console.log("kk8") loading100.FINISH="FN"; console.log("kk9") return loading100; })(Sprite) //class ui.loadingjzaUI extends laya.ui.View var loadingjzaUI=(function(_super){ function loadingjzaUI(){ this.loading1=null...
来源: Laya_社区 发布时间: 20170725
... if (e.keyCode == 66) {//B console.log("释放资源 true") Laya.loader.clearRes("res/atlas/comp.json", true); Laya.loader.clearRes("res/atlas/comp.png", true); } if (e.keyCode == 67) {//C ...
来源: Laya_社区 发布时间: 20170317
...号 wordWrap 是否自动换行,布尔值选项,默认为false,选择true可以开启自动换行 leading 垂直行间距,当开启自动换行时,文本内容多行时有效。间距以像素为单位,输入正整数即可 padding 文本边距,以像素为单位,由4个整数值组...
来源: Laya3.0_文档 发布时间: 20230629
...不写入深度的情况下,将显示靠后的节点active置false再置true,该节点便显示得更靠前了,如下面3张图;而没开启enableInstancing并且不写入深度情况下则不会;不清楚这是不是bug 附件 : --> TestInstancing.zip 2024-08-12 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20240812
...putText.prompt = "Type some word..."; //多行输入 inputText.multiline = true; inputText.wordWrap = true; inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height >> 1; inputText.padding = [2, 2, 2, 2]; inputText.bgColor = ...
来源: Laya_示例 发布时间: 20240930
...rseComplete(): void { console.error("地主加载完成"); this.isFinish = true; } public getArmature():Laya.Skeleton{ if(!this.isFinish){ return null; } let armature = null; if(this.mArmatureUnUsed.length > 0){ armature = this.mArmatureUnUsed.pop(); } if(this.mFactory){ armature = this.mFactor...
来源: Laya_社区 发布时间: 20190821
... MethodDefined By Texture2D(canRead:Boolean = false, reapeat:Boolean = true, format:int, mipmap:Boolean = true) 创建一个 Texture2D 实例。 Texture2D getPixels():Uint8Array 返回图片像素。 Texture2D load(url:String):Texture2D[static] 加载Texture2D。 Texture2D onAsynLoaded(...
来源: laya_api 发布时间: 20170929
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓...
来源: laya_api 发布时间: 20170422
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"...
来源: laya_api 发布时间: 20170929