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

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

1. laya.display.Sprite_API3.0 [ 100%]

...ublic/Protected All Inherited Externals Only exported Menu Globals "laya/display/Sprite" Sprite Class Sprite Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,...

来源: Laya3.0_api 发布时间: 20231115

2. laya.html.dom.HTMLIframeElement_API3.0 [ 86%]

...cheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivot...

来源: Laya3.0_api 发布时间: 20231102

3. laya.html.dom.HTMLDivElement_API3.0 [ 85%]

...点击后会派发"link"事件 比如:a div:div容器标签,比如:abc span:行内元素标签,比如:abc p:行元素标签,p标签会自动换行,div不会,比如:abc img:图片标签,比如: br:换行标签,比如:abcdef style:样式标签,比如:abc link:外链样式标签,可...

来源: Laya3.0_api 发布时间: 20231102

4. laya.physics.PhysicsDebugDraw_API3.0 [ 84%]

...用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierar...

来源: Laya3.0_api 发布时间: 20231115

5. laya.map.TileAniSprite_API3.0 [ 83%]

...tected All Inherited Externals Only exported Menu Globals "laya/map/TileAniSprite" TileAniSprite Class TileAniSprite TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) author ... Hierarchy Sprite TileAniSprite Index Constructors c...

来源: Laya3.0_api 发布时间: 20231115

6. laya.ui.Clip_API3.0 [ 82%]

...p 的点击事件侦听处理函数。clip.total="+ clip.total); if (clip.isPlaying == true) { clip.stop();//停止动画。 }else { clip.play();//播放动画。 } } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 var clip; Lay...

来源: Laya3.0_api 发布时间: 20231115

7. laya.particle.Particle2D_API3.0 [ 82%]

..." Particle2D Class Particle2D Particle2D 类是2D粒子播放类 Hierarchy Sprite Particle2D Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHie...

来源: Laya3.0_api 发布时间: 20231115

8. laya.media.SoundNode_API3.0 [ 82%]

...de Class SoundNode 用于播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alp...

来源: Laya3.0_api 发布时间: 20231115

9. laya.map.GridSprite_API3.0 [ 82%]

...Protected All Inherited Externals Only exported Menu Globals "laya/map/GridSprite" GridSprite Class GridSprite 地图的每层都会分块渲染处理 本类就是地图的块数据 author ... Hierarchy Sprite GridSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseU...

来源: Laya3.0_api 发布时间: 20231115

10. laya.map.MapLayer_API3.0 [ 81%]

...,植被层,建筑层等) 本类就是层级类 author ... Hierarchy Sprite MapLayer Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior layerName mouseThrough name tag tarLayer drawtocanvCtx Accessors _isHeightSet _isWidthSet active acti...

来源: Laya3.0_api 发布时间: 20231115