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

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

1301. 问一下tween的一些参数怎么设置 [ 63%]

...一个变量计算缓动次数,代码如下package { import laya.display.Sprite; import laya.utils.Ease; import laya.utils.Handler; import laya.utils.Tween; public class LayaAirDemo { private var sp:Sprite; private var num:int; public function LayaAirDemo() { Laya.init(550,400); sp=new Sprite(); s...

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

1302. laya.ui.AdvImage_API3.0 [ 63%]

... = false Inherited from AnimationBase._ownGraphics Defined in laya/display/Sprite.ts:245 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:631 _skinBaseUrl _skinBaseUrl: string Inherited from AnimationBase._skinBaseUrl Defined in laya/display/Sprite.ts:269 如果节点...

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

1303. graphics绘制大量矩形圆形多边形 webgl掉帧严重 canvas不会? [ 63%]

...帧严重 微信小游戏与加载图片时不会触发erroe事件 大量sprite如何优化性能 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 富文本下划...

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

1304. [LayaAir3]使用videoNode播放视频没有控制器 [ 63%]

...本视频给你答疑解惑! TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 使用3D时候,Property 'getCompo...

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

1305. laya.ui.Image [ 63%]

...| Events Packagelaya.uiClasspublic class ImageInheritanceImage Component Sprite Node EventDispatcher Object Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支...

来源: laya_api 发布时间: 20170929

1306. 分享:LayaAir下如何获取图集下的小图资源? [ 63%]

...小图资源package { import laya.display.Animation; import laya.display.Sprite; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; public class Main { public function Main() { //初始化引擎 Laya.init(600, 800); //加载引擎需要的资源 Laya.loader.load([{url:"...

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

1307. 求教 JS项目的Promise如何使用 [ 63%]

...dler.create(this,graphicsImg)); function graphicsImg(){ var img = new Laya.Sprite(); //获取图片资源,绘制到画布 img.graphics.drawTexture(Laya.loader.getRes(this.monkey2),100,50); //添加到舞台 Laya.stage.addChild(img); }求教一下Promise方式来实现这段代码应该写,谢谢...

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

1308. laya.display.AnimationPlayerBase [ 63%]

...displayClasspublic class AnimationPlayerBaseInheritanceAnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画播放基类,提供了基础的动画播放控制方法和帧标签事件相关功能。 可以继承此类,但不要直接实例化此类,因...

来源: laya_api 发布时间: 20170929

1309. laya.ui.DialogManager_API3.0 [ 63%]

...过设置对话框的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

1310. 现在引擎3d有类似unity中 transform.InverseTransformPoint()的方法吗 [ 63%]

...阵和世界矩阵,直接获取矩阵的12,13,14号元素就是position Sprite3D.transform.localMatrix Sprite3D.transform.worldMatrix 2017-06-01 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 q755456 相关问题 看了其他引擎才...

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