大约有 2,397 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0113 秒)
Laya_社区(1676) Laya3.0_api(170) Laya2.0_api(133) Laya2.0_文档(116) laya_api(102) Laya_示例(72) Laya2.0_示例(66) Laya3.0_文档(62)
IDE相关问题 UI相关问题 LayaAir引擎 如何在代码中new Poly 如题,然后设置它的 renderType 这样也不行 : this.imgExpedition = new component.HomeScaleFilterImg(3, 655, "home/imgExpedition.png", 0); this._sprHome.addChildAt(this.imgExpedition, 0); this.homeScaleFilterIm...
来源: Laya_社区 发布时间: 20180507
[LayaAir3]sprite.drawToTexture( ) 无法绘制容器内容 drawToTexture() 方法不能按预期工作,只能绘制背景,无法绘制出子节点内容,API文档对参数也没有详细注释,各种尝试都无解。DEMO 代码已上传,麻烦帮忙看看,感谢。 附件 : --> bug-d...
来源: Laya_社区 发布时间: 20240425
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/CircleCollider" CircleCollider Class CircleCollider 2D圆形碰撞体 Hierarchy ColliderBase CircleCollider Index Construct...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/Scene" Scene Class Scene 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会...
来源: Laya3.0_api 发布时间: 20231115
...图集没有开启成功吗?代码如下(引擎版本1.7.16Beta): Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(0,Brow...
来源: Laya_社区 发布时间: 20180223
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/UIGroup" UIGroup Class UIGroup Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实...
来源: Laya3.0_api 发布时间: 20231115
graphics drawPath drawLine 鼠标 画笔 画线 锯齿 mouseMove(e:Laya.Event){ /**/ var p:Laya.Point=this.startPoint; this.cls.graphics.drawPath(0,0,[ ["moveTo", p.x,p.y], ["lineTo", e.stageX,e.stageY] ],null,{strokeStyle:"#ff0000",lineWidth:15,lineJoin:"round",lineCap:"round"}); //*/ //this.cls.g...
来源: Laya_社区 发布时间: 20220920
...dex | Frames No Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Propert...
来源: Laya2.0_api 发布时间: 20190513
...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/AdvImage" AdvImage Class AdvImage 广告插件 author 小松 date -2018-09-19 Hierarchy Image AdvImage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouse...
来源: Laya3.0_api 发布时间: 20231102
# laya.device.motion详解:陀螺仪与加速计 [TOC] laya.device.motion中共有四个类供开发者使用,分别为加速信息AccelerationInfo、加速计Accelerator、陀螺仪Gyroscope、保存旋转信息RotationInfo。本节将详细描述laya.device.motion API的相关内容。 ## 1、...
来源: Laya2.0_文档 发布时间: 20210714