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

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

321. laya.ui.Image_API3.0 [ 65%]

...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/Image.ts:98 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...

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

322. 有没有可以暂停播放音乐的方法 [ 65%]

...以?还有使用Laya.Loader的方式能不能加载ani文件? 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或...

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

323. 使用layaIDE发布项目之后,资源加载不到 [ 65%]

...行工具构建和发布项目 图集打包找不到图集文件 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 问题状态 最新活动: 2017-04-20 10:50 浏览: 1695 关注: 3 人 williamjie • 2017...

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

324. laya.ui.DialogManager_API3.0 [ 65%]

...过设置对话框的zOrder属性,可以更改弹出的层次 Hierarchy Sprite DialogManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize closeEffectHandler hitTestPrior lockLayer maskLayer mouseThrough name popupEffectHandler tag drawtocanvCtx Ac...

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

325. [LayaAir3]程序蓝图继承问题 [ 65%]

...事件图表里面为什么可以有这个,这个我测试只有继承自sprite的蓝图才可以有。从script继承的蓝图只有on开头的事件,不会有click这个 附件 : --> 2025-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

326. CPU优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 65%]

...。 1. 使用getBounds/ getGraphicBounds。 ```javascript var sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); var bounds:Laya.Rectangle=sp.getGraphicBounds(); Laya.stage.addChild(sp); ``` getBounds可以满足多数多数需求,但由于其需要计算边界,不适合频繁调...

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

327. laya.media.SoundNode_API3.0 [ 64%]

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

328. laya.map.GridSprite_API3.0 [ 64%]

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

329. laya.ui.Box_API3.0 [ 64%]

...eChildren?: boolean): Box Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns Box Properties Optional _extra _extra: INodeExtra Inherited from N...

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

330. laya.ui.ScaleBox_API3.0 [ 64%]

...dren?: boolean): ScaleBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited f...

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