大约有 391 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)
Laya_社区(179) Laya3.0_api(65) Laya2.0_api(59) laya_api(54) Laya2.0_文档(10) Laya3.0_文档(10) Laya2.0_示例(8) Laya_示例(6)
...取有效像素问题 更新: 在 现在有没有办法把一个display.sprite转存成图片 无意间找到了 答案 getimagedata无法直接使用 1 需要先 c= Laya.stage.drawToCanvas(720,1280, 0,0) 2 然后 调用 t = new Trxture(c); t.getPixels(0,0, 720,1280) 希望官方对这种比较...
来源: Laya_社区 发布时间: 20171201
...(最新版本:1.7.16) 招聘:H5游戏开发 坐标:深圳南山 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. IOS系统内嵌H5游戏,退到后台...
来源: Laya_社区 发布时间: 20170803
...oid { var tEventData:EventData = e as EventData; Laya.stage.addChild(mLabelSprite); mLabelSprite.x = mStartX; mLabelSprite.y = mStartY; mLabelSprite.graphics.clear(); mLabelSprite.graphics.fillText(tEventData.name, 0, 0, "20px Arial", "#ff0000", "center"); Tween.to(mLabelSprite, { y:mStartY - 200 },...
来源: Laya_社区 发布时间: 20170406
...displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当...
来源: laya_api 发布时间: 20170929
...PP打开加载速度过慢,有黑屏,如何加入闪屏图片 new Laya.Sprite();绘制图形以后,怎么删除释放资源? Animation 的createFrames 使用已经加载的图集缓存动画失败 请问下loader如何强制加载一个文件,避免浏览器的缓存 问题状态 最新活...
来源: Laya_社区 发布时间: 20180101
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...elaya.displayClasspublic class AnimationInheritanceAnimation AnimationBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当...
来源: Laya2.0_api 发布时间: 20190513
...。 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
...ited Externals Only exported Menu Globals "laya/d3/core/pixelLine/PixelLineSprite3D" PixelLineSprite3D Class PixelLineSprite3D PixelLineSprite3D 类用于像素线渲染精灵。 Hierarchy RenderableSprite3D PixelLineSprite3D Index Constructors constructor Properties _extra _scene _url name tag LIGH...
来源: Laya3.0_api 发布时间: 20231115
...ass EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而同一个对象可以添加多个动效。 当一个动效开始播放时,其他动...
来源: Laya2.0_api 发布时间: 20190513