大约有 566 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0083 秒)
...行工具构建和发布项目 图集打包找不到图集文件 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 问题状态 最新活动: 2017-04-20 10:50 浏览: 1695 关注: 3 人 williamjie • 2017...
来源: Laya_社区 发布时间: 20170412
...。 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
...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
...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
...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
...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
...lip MovieClip 用于播放经过工具处理后的 swf 动画。 Hierarchy Sprite MovieClip Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize basePath hitTestPrior interval loop mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet activ...
来源: Laya3.0_api 发布时间: 20231115
..." 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
...资源 这个是怎么回事? 关于apk打包动画卡的问题 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 模型资源释放问题 问题状态 最新活动: 2017-07-05 21:18 浏览: 859 ...
来源: Laya_社区 发布时间: 20170705
...布微信小游戏,安卓设备加载场景黑屏 关于遍历产生的sprite的点击事件,急,大神帮看哈 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ laya2的Scene默认是文件模式,不会生成场景类了...
来源: Laya_社区 发布时间: 20240403