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

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

421. 3D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 54%]

....Material; //颜色数目 private _colorNums = 20; //精灵数目 private _spriteNums = 200; private _createColorBufferData() { //随机给20个颜色值 let colorBuffer = new Float32Array(20 * 4); for (var i = 0; i < this._colorNums; i++) { let offset = i * 4; colorBuffer[offset] = Math.random()...

来源: Laya3.0_文档 发布时间: 20251010

422. laya.d3.shader.Shader3D_API3.0 [ 54%]

...Properties PERIOD_CAMERA PERIOD_CUSTOM PERIOD_MATERIAL PERIOD_SCENE PERIOD_SPRITE RENDER_STATE_BLEND RENDER_STATE_BLEND_CONST_COLOR RENDER_STATE_BLEND_DST RENDER_STATE_BLEND_DST_ALPHA RENDER_STATE_BLEND_DST_RGB RENDER_STATE_BLEND_EQUATION RENDER_STATE_BLEND_EQUATION_ALPHA RENDER_STATE_BLEND_EQUATION...

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

423. laya.ui.DialogManager_API3.0 [ 54%]

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

424. laya.ui.View_API3.0 [ 53%]

...: 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 _scene3D _scene3D: any Inherited from Scene._scene3D Defined in laya/display/Scene.ts:28 _skinBaseUrl _skinBaseUrl: string Inher...

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

425. laya.media.SoundNode_API3.0 [ 53%]

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

426. laya.display.AnimationBase_API3.0 [ 53%]

...接实例化此类,因为有些方法需要由子类实现。 Hierarchy Sprite AnimationBase FrameAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_RE...

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

427. 分享:IDE使用SWF动画的销毁与反复创建 [ 53%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 分享:适配LayaAir版本的PureMVC框架 分享:打地鼠 AS、JS、TS...

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

428. 请问下键盘事件的监听只能用stage么?其他对象监听不起作用,谢谢 [ 53%]

...this.onkeyDown);使用舞台监听有效,但是如果使用 var sp = new Sprite(); sp.width = 720; sp.height = 1280 Laya.stage.addChild(sp) sp.on(laya.events.Event.KEY_DOWN, this, this.onkeyDown); 就不能监听到键盘事件呢,这是怎么回事呢? 2018-01-12 添加评论 免费帖 --> ...

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

429. laya.ani.swf.MovieClip_API3.0 [ 53%]

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

430. Event.DRAG_MOVE事件的回调函数中不能拿到event对象是怎么回事? [ 53%]

...完后的回调时间 Animation如何加点击事件 关于遍历产生的sprite的点击事件,急,大神帮看哈 循环依赖不能运行 Circular dependency: ui list 里面的元素不能点击两次 鼠标滚轮滚动事件 图片添加点击事件 有的不生效 横屏模式在锁定竖...

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