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

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

201. laya.maths.Quaternion_API3.0 [ 68%]

... cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 createFromYawPitchRoll dot forwardLookAt invert lerp lookAt multiply rotationLookAt rotationMatrix slerp ...

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

202. laya.d3.math.Vector4_API3.0 [ 68%]

...tW UnitX UnitY UnitZ ZERO Methods clone cloneTo forNativeElement fromArray length lengthSquared setValue toArray writeTo Clamp add distance distanceSquared dot equals lerp max min multiply normalize scale subtract transformByM4x4 Constructors constructor new Vector4(x?: number, y?: number, z?: numbe...

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

203. 大神们能不能帮忙解决一下一些问题呀,一个新手搞不定呀 [ 68%]

...关过关了){ var 随机数 = Math.floor(Math.random() * 未过的关数.length; var 新的未过的关数 = []; var 剩下关数 = 未过的关数.length - 1; for(var i =0;i<剩下关数;i++){ if(i != 随机数){ 新的未过的关数.push(未过的关数[i]); } } 未过的关数 = 新的未过...

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

204. 网络通信 · LayaAir3文档 · LAYABOX [ 68%]

...onstrate <output.writeByte>"; for (var i: number = 0; i < message.length; ++i) { // 直接写缓冲区中的数据 this.output.writeByte(message.charCodeAt(i)); } // 发送缓冲区中的数据到服务器 this.socket.flush(); } // 连接断开后的事件回调 private onSocketClose(e: any...

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

205. laya.d3.math.native.ConchVector4_API3.0 [ 68%]

...W UnitX UnitY UnitZ ZERO Accessors w x y z Methods clone cloneTo fromArray length lengthSquared Clamp add distance distanceSquared dot equals lerp max min multiply normalize scale subtract transformByM4x4 Constructors constructor new ConchVector4(x?: number, y?: number, z?: number, w?: number): Conc...

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

206. laya.d3.math.Quaternion_API3.0 [ 67%]

... cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 createFromYawPitchRoll dot forwardLookAt invert lerp lookAt multiply rotationLookAt rotationMatrix slerp ...

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

207. Sprite-新手引导 [ 67%]

...iner); nextStep(); })(); function nextStep() { if (guideStep == guideSteps.length) { Laya.stage.removeChild(guideContainer); Laya.stage.removeChild(tipContainer); } else { var step = guideSteps[guideStep++]; hitArea.unHit.clear(); hitArea.unHit.drawCircle(step.x, step.y, step.radius, "#000000"); int...

来源: Laya_示例 发布时间: 20251209

208. 内存释放问题 [ 67%]

...id { let uiResArray = []; let muduleName; for (let index = 0, len = mNames.length; index < len; index++) { muduleName = mNames[index]; uiResArray.push({ url: bigao.Utils.StringTool.formatString(ResUIModuleManager.moduleResPath, muduleName), type: Laya.Loader.ATLAS }); } Laya.loader.load(uiResArra...

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

209. LayaAir 寻路库,寻路路径错误 [ 67%]

...d(arr, 3); var path:Array = astart1.findPath(0, 0, 3, 2, grid); trace(path.length + "_____" + path.toString()); var path1:Array = astart1.findPath(0, 0, 3, 2, grid); trace(path1.length + "_____" + path1.toString()); -------------------------------------输出---------------------...

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

210. Sprite-新手引导 [ 67%]

...ipContainer); this.nextStep(); } nextStep() { if (guideStep === guideSteps.length) { Laya.stage.removeChild(guideContainer); Laya.stage.removeChild(tipContainer); return; } let step = guideSteps[guideStep++]; hitArea.unHit.clear(); hitArea.unHit.drawCircle(step.x, step.y, step.radius, "#000000"); in...

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