大约有 696 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0174 秒)
Laya3.0_api(324) Laya2.0_api(134) laya_api(106) Laya_社区(97) Laya2.0_文档(23) Laya3.0_文档(11) Laya2.0_示例(1)
...找到Button设置皮肤的地方,发现它会去调用changeClips。 __getset(0,__proto,'skin',function(){ return this._skin; },function(value){ if (this._skin !=value){ this._skin=value; this.callLate...
来源: Laya_社区 发布时间: 20191122
...@zh 浏览器窗口的物理宽度,考虑了设备像素比。 */ static get width(): number { Browser.__init__(); return ((ILaya.stage && ILaya.stage.canvasRotation) ? Browser.clientHeight : Browser.clientWidth) * Browser.pixelRatio; } /** * @en The physical height of the browser window, ...
来源: Laya3.0_文档 发布时间: 20251010
...l.CULL, value); } /** * 获取剔除方式。 * @return 剔除方式。 */ get cull() { return this._shaderValues.getInt(BlinnPhongMaterial.CULL); } ``` 在没有 stateMap 时,只能通过对应修改 ShaderPass 的 renderState 来修改。 > 多Pass描边shader中使用Pass的renderStat修改渲...
来源: Laya2.0_文档 发布时间: 20210714
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,...
来源: laya_api 发布时间: 20170929
...被立刻执行,可以调用pause,后续再调用resume。 * @param target 缓动的目标对象。可以为空。 * @param lifecycleOwner 生命周期对象,当销毁时,缓动会自动停止。一般情况下,如果任务的目标对象有 destroyed 属性,则不需要设置此属性...
来源: Laya3.0_文档 发布时间: 20251010
...String = repeat, offset:Point = null):void 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, hei...
来源: laya_api 发布时间: 20170929
...; if(str.indexOf("private async") != -1) continue; if(str.indexOf("private get") != -1) continue; if(str.indexOf("private set") != -1) continue; if(str.indexOf("= new ") != -1) continue; //过滤这种:private con:eui.Rect = new eui.Rect(); let name = str.substr(len, str.length - len - 1); console...
来源: Laya_社区 发布时间: 20190613
...epeat, offset:Point = null):FillTextureCmd 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, hei...
来源: Laya2.0_api 发布时间: 20190513
...drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate Constructors constructor new Graphics(): Graphics Defined in laya/display/Graphics.ts:54 Returns Graphics Accessors cmds get cmds(): any[]...
来源: Laya3.0_api 发布时间: 20231115
...drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): GraphicsAni Inherited from Graphics.constructor Defined in laya/display/Graphic...
来源: Laya3.0_api 发布时间: 20231115