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

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

1201. laya.d3.core.Transform3D [ 32%]

...ds Packagelaya.d3.coreClasspublic class Transform3DInheritanceTransform3D EventDispatcher Object Transform3D 类用于实现3D变换。 Public Properties PropertyDefined By  localMatrix : Matrix4x4 获取局部矩阵。 Transform3D  localPosition : Vector3 获取局部位置。 Transform3D  ...

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

1202. laya.ui.Dialog [ 32%]

...All Classes | Index | Frames No Frames DialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class DialogInheritanceDialog View Scene Sprite Node EventDispatcher Object Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以...

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

1203. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 31%]

...得最短路径的调用: //设置鼠标弹起事件响应 Laya.stage.on(Event.MOUSE_UP, this, function (): void { //起始和目标点 var start = this.graph.grid[this.startPoint.x][this.startPoint.y]; var end = this.graph.grid[this.endPoint.x][this.endPoint.y]; //调用A* serach方法获得最...

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

1204. LayaAirNative初始化的4个问题 [ 31%]

...主程序过大的问题 我这样载入场景问题出现在哪呢?? event自定义事件的问题 问题状态 最新活动: 2018-07-01 19:38 浏览: 2174 关注: 5 人 helloworldlv • 2018-07-02 11:14 发邮箱 775331175@qq.com 还有手机型号信息 谢谢 Laya_Aaron • 2018-06-28 15:27 ...

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

1205. 2D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 30%]

....drawCircle(0,0,20,"#990000"); Laya.stage.addChild(sp); Laya.stage.on(Laya.Event.MOUSE_MOVE,this,function() { sp.pos(Laya.stage.mouseX,Laya.stage.mouseY); }); (图3-1) 此时FPS显示30,并且在鼠标移动时,可以感觉到圆球位置的更新不连贯。设置Stage.frameRate为Stage.FRA...

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

1206. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 30%]

...Pivot").getChildByName("TargetGuard") as Laya.Sprite3D; Laya.stage.on(Laya.Event.KEY_PRESS, this, this.KeyPress); this.pivot = s.getChildByName("target_root").getChildByName("PendulumCircleTarget").getChildByName("MoveBlockPivot") as Laya.Sprite3D; let newRot = new Laya.Quaternion(0, 0, 0, 0); Laya....

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

1207. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 29%]

...焦点时执行回调,发送数据 onAwake(): void { this.owner.on(Laya.Event.BLUR, this, this.sendData) } //将玩家数据上传至云端 sendData() { //组织数据 let KVDataList = []; let text = Number(this.owner.text); if(!isNaN(text) && text >= 0 && text <= 9999) { thi...

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

1208. 动画状态机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 28%]

...prite3D; private animator : Laya.Animator; onStart() { this.label.on( Laya.Event.CLICK, this, this.test ); //获得状态机 this.animator = this.target.getComponent<Laya.Animator>(Laya.Animator); } //运行状态机的跑动画,可使用动作融合方式 test(e: Laya.Event) { //动画状...

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

1209. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 28%]

...ions", inspector: "Buttons", options : { buttons : [ { caption : "点我", event: "my_click" } ] } } ] } ]); this._panel.allowUndo = true; //根据需要设置 //如果不需要undo功能,也可以直接this._data = {}; this._data = IEditor.DataWatcher.watch({}); //inspect可以多次调用,将...

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

1210. laya.ui.Button_API3.0 [ 27%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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