• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 696 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0174 秒)

671. Laya中Button等组件lose skin的问题 [ 30%]

...找到Button设置皮肤的地方,发现它会去调用changeClips。 __getset(0,__proto,'skin',function(){         return this._skin;         },function(value){         if (this._skin !=value){             this._skin=value;             this.callLate...

来源: Laya_社区 发布时间: 20191122

672. 屏幕适配 · LayaAir3.3 · 引擎文档 · LAYABOX [ 30%]

...@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

673. ShaderPass介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 30%]

...l.CULL, value); } /** * 获取剔除方式。 * @return 剔除方式。 */ get cull() { return this._shaderValues.getInt(BlinnPhongMaterial.CULL); } ``` 在没有 stateMap 时,只能通过对应修改 ShaderPass 的 renderState 来修改。 > 多Pass描边shader中使用Pass的renderStat修改渲...

来源: Laya2.0_文档 发布时间: 20210714

674. laya.ani.bone.Skeleton [ 30%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,...

来源: laya_api 发布时间: 20170929

675. 缓动 · LayaAir3.3 · 引擎文档 · LAYABOX [ 27%]

...被立刻执行,可以调用pause,后续再调用resume。 * @param target 缓动的目标对象。可以为空。 * @param lifecycleOwner 生命周期对象,当销毁时,缓动会自动停止。一般情况下,如果任务的目标对象有 destroyed 属性,则不需要设置此属性...

来源: Laya3.0_文档 发布时间: 20251010

676. laya.display.Graphics [ 26%]

...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

677. 微信小游戏提审后,提示说代码侵权 [ 25%]

...; 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

678. laya.display.Graphics [ 25%]

...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

679. laya.display.Graphics_API3.0 [ 24%]

...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

680. laya.ani.GraphicsAni_API3.0 [ 23%]

...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