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

大约有 637 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0054 秒)

361. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 57%]

... { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List; //创建一个 List 类的实例对象 list 。 private n:number = 0;...

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

362. image.drawToCanvas方法获取的一直是空的png [ 56%]

... laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class LayaAirDemo { private var img:Image; public function LayaAirDemo() { Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL...

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

363. laya.display.Animation [ 56%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基...

来源: laya_api 发布时间: 20170929

364. 脚本的事件(TypeScript-3D基础(TS)-LayaAir3D的脚本使用) [ 56%]

...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.component.Script3D))。 关于脚本的添加使用这里不做过的讲解,在以往的示例中都有或多或少的使用脚本。关于脚本的官方示例([demo地址](https://layaair.ldc.layabox.com/d...

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

365. laya.components.AnimationClip2D_API3.0 [ 56%]

...ly exported Menu Globals "laya/components/AnimationClip2D" AnimationClip2D Class AnimationClip2D Hierarchy Resource AnimationClip2D Index Constructors constructor Properties _id destroyedImmediately islooping lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount...

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

366. 微信小游戏中不能加载proto文件 [ 56%]

...  at Function.eof (http://127.0.0.1:34822/game/code.js:52215:69)     at Class (http://127.0.0.1:34822/game/code.js:52729:37)     at Type.get (http://127.0.0.1:34822/game/code.js:57693:48)     at Type.create (http://127.0.0.1:34822/game/code.js:57856:20)     at Proto.EncodeMessage (http://12...

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

367. 多光源渲染(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 55%]

...=MultiLight))的代码来做讲解: > 移动灯光脚本 ```typescript class LightMoveScript extends Script3D { //需要操作的光源数组 public var lights: Array = []; //光源对应的位置偏移数组 public var offsets: Array = []; //光源对应的移动半径数组 public var moveRang...

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

368. laya.display.AnimationBase [ 55%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationBaseProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationBaseInheritanceAnimationBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画基类,...

来源: Laya2.0_api 发布时间: 20190513

369. laya.display.Text [ 55%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextProperties | Methods | Events Packagelaya.displayClasspublic class TextInheritanceText Sprite Node EventDispatcher ObjectSubclasses Input Text 类用于创建显示对象以显示文本。 注意:如果运行时...

来源: laya_api 发布时间: 20170929

370. UI-RefreshList [ 55%]

...ya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.loadingLabel = null; this.refreshList = null; /** 消息生成的当前最大id值 */ this.msgIdNow=1; /** ...

来源: Laya2.0_示例 发布时间: 20250219