大约有 630 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0040 秒)
Laya_社区(466) Laya3.0_api(58) Laya2.0_api(33) laya_api(28) Laya2.0_文档(26) Laya3.0_文档(7) Laya2.0_示例(7) Laya_示例(5)
....stage.on(Event.MOUSE_UP, this, this.onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, this.onMouseUp); } /**移到事件处理*/ onMouseMove(e) { this.button.x = Math.max(Math.min(Laya.stage.mouseX, endPosition), beginPosition); } /**抬起事件处理*/ onMouseUp(e) { const Event = Laya.Event, Twee...
来源: Laya2.0_示例 发布时间: 20250222
...是否检测所有物体,也就是是否穿透物体。这种方法的`out:Vector.` — 碰撞结果[数组元素会被回收]。 下面我们先来展示A类`raycastFromTo`,`raycastAllFromTo`的使用,这段代码源自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?lang...
来源: Laya2.0_文档 发布时间: 20210715
...是否检测所有物体,也就是是否穿透物体。这种方法的`out:Vector.` — 碰撞结果[数组元素会被回收]。 下面我们先来展示A类`raycastFromTo`,`raycastAllFromTo`的使用,这段代码源自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?lang...
来源: Laya2.0_文档 发布时间: 20210715
...是否检测所有物体,也就是是否穿透物体。这种方法的`out:Vector.` — 碰撞结果[数组元素会被回收]。 下面我们先来展示A类`raycastFromTo`,`raycastAllFromTo`的使用,这段代码源自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?lang...
来源: Laya2.0_文档 发布时间: 20210715
...ttach to main target 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Error: asBitmap no size! LayaAirIDE2.2 - Laya3D init error ,must support webGL Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 IDE...
来源: Laya_社区 发布时间: 20180620
...同! 更奇妙的事情发生了,看下图: 当代码运行到4700行时out.origin还是一个正常值(与相机位置基本相同),而代码运行到4704行时,out.origin就与out.direction相同了! 我对js引擎理解不深,不知是什么原因,请各位指教! 最后我的解决办法...
来源: Laya_社区 发布时间: 20190319
...t向量。 Returns number 点积。 Static normalize normalize(s: Vector2, out: Vector2): void Defined in laya/d3/math/Vector2.ts:100 归一化二维向量。 Parameters s: Vector2 源三维向量。 out: Vector2 输出三维向量。 Returns void Static rewriteNumProperty rewriteNumProperty(proto: ...
来源: Laya3.0_api 发布时间: 20231102
...。 Returns boolean 是否相等。 Static normalize normalize(s: Vector2, out: Vector2): void Defined in laya/maths/Vector2.ts:112 归一化二维向量。 Parameters s: Vector2 源三维向量。 out: Vector2 输出三维向量。 Returns void Static rewriteNumProperty rewriteNumProperty(proto: an...
来源: Laya3.0_api 发布时间: 20231115
...or.ts:186 转换为Array数组 Returns Array<number> toGamma toGamma(out: Color): void Defined in laya/maths/Color.ts:137 线性空间转换到Gamma空间。 Parameters out: Color Returns void toLinear toLinear(out: Color): void Defined in laya/maths/Color.ts:126 Gamma空间转换到线性空...
来源: Laya3.0_api 发布时间: 20231115
...转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什么原因导致的吗? 怎样解决? 2.1 spine 动画播放出现抖动的bug修复 spine骨骼动画如何获取某个骨骼的坐标 spine 预加载怎么弄?用loadAni??? 对于使用s...
来源: Laya_社区 发布时间: 20200420