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

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

1541. laya.d3.renderobjs.renderobj.ShadowCullInfo_API3.0 [ 54%]

...es cullSphere direction position Properties cullPlaneCount cullPlaneCount: number Implementation of IShadowCullInfo.cullPlaneCount Defined in laya/d3/RenderObjs/RenderObj/ShadowCullInfo.ts:10 cullPlanes cullPlanes: Plane[] Implementation of IShadowCullInfo.cullPlanes Defined in laya/d3/RenderObjs/Re...

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

1542. 1.7.19beta版播放音乐异常 [ 54%]

...'setTargetAtTime' on 'AudioParam': Time constant must be a finite positive number: 0"   在chrome里调试就没问题,怎么办? 2018-05-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 OneWay 赞同来自:...

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

1543. MovieClip卸载不掉,有内存泄漏 [ 54%]

MovieClip卸载不掉,有内存泄漏 destroyItemsMovie() { let n: number = 25; while (--n > 0) { let mov0 = this["item" + n] as MovieClip; if (mov0) { mov0.visible && (mov0.visible = false); mov0.playing && mov0.stop(); mov0.parent && mov0.parent.removeChild(mov0); mov...

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

1544. 网络和格式-Socket [ 54%]

...output.writeByte发送 var message: string = "demonstrate "; for (var i: number = 0; i "); // 使用output.writeByte发送 var message:String = "demonstrate "; for (var i:int = 0; i < message.length; ++i) { output.writeByte(message.charCodeAt(i)); } socket.flush(); } private function onSocketClose(e...

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

1545. 3D项目导出安卓后,自定义材质出错 [ 54%]

...erial._fadeDistanceID, value);     } setVector3要求类型是Vector3 传number不行  shaderDate传参类型要严格符合要求 2019-11-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 185*****532 相关...

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

1546. laya.d3.physicscannon.CannonHitResult_API3.0 [ 54%]

...nonHitResult.ts:11 发生碰撞的碰撞组件。 hitFraction hitFraction: number = 0 Defined in laya/d3/physicsCannon/CannonHitResult.ts:17 碰撞分数。 normal normal: Vector3 = new Vector3() Defined in laya/d3/physicsCannon/CannonHitResult.ts:15 碰撞法线。 point point: Vector3 = new Vector...

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

1547. laya.d3.physics.HitResult_API3.0 [ 54%]

...cs/HitResult.ts:11 发生碰撞的碰撞组件。 hitFraction hitFraction: number = 0 Defined in laya/d3/physics/HitResult.ts:17 碰撞分数。 normal normal: Vector3 = new Vector3() Defined in laya/d3/physics/HitResult.ts:15 碰撞法线。 point point: Vector3 = new Vector3() Defined in laya/d3/p...

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

1548. flash中的RandomAS在Layaair里面是用哪个函数替代了呢? [ 54%]

...链接 提交 1 个回复 w1114367261 赞同来自: Math.random()返回0~number-1之间的随机数 和Random类似 2018-04-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yzbgyc 相关问题 微信关系链:LayaAir引擎针对微信...

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

1549. 强转报错:无法解析int强制转换 [ 54%]

...:int is not defined 鉴于这2种情况:   int.MAX_VALUE可以使用Number.MAX_VALUE替代   int(4.56)可以使用parseInt(4.56+"")方法替代。   2016-05-03 0 0 分享 微博 QZONE 微信 Cross_Sky 赞同来自: 哦哦,好的 2016-05-03 0 0 分享 微博 QZONE 微信 为什么被...

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

1550. 怎么计算两个点之间的距离 [ 54%]

...   var y:int = p1.y = p2.y;              var length:Number = Math.sqrt(Math.pow(x,2)+Math.pow(y,2));              trace(length);  2017-05-11 1 0 分享 微博 QZONE 微信 ippon 赞同来自: var point = new laya.maths.Point(100,100); var distance = point.distan...

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