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

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

61. laya.maths.Matrix4x4_API3.0 [ 70%]

...rchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT DEFAULTINVERT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert is...

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

62. Laya3D鼠标检测,3d对象被添加到场景,然后又被移除,还能通过Ray进行碰撞检测么? [ 70%]

...AllInfo:Vector.<RaycastHit> = new Vector.<RaycastHit>(); point.elements[0] = MouseManager.instance.mouseX; point.elements[1] = MouseManager.instance.mouseY; ray.direction.x = 0; ray.direction.y = 0; ray.direction.z = 0; ray.origin.x = 0; ray.origin.y = 0; ray.origin.z = 0; handCamera.vie...

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

63. 射线BUG [ 70%]

...prototype.lateRender.call(state); //从屏幕空间生成射线 this.point.elements[0] = Laya.stage.mouseX; this.point.elements[1] = Laya.stage.mouseY; this.camera.viewportPointToRay(this.point, this.ray); //射线检测,射线相交的<最近物体>,最大检测距离30米,只检测第13层 L...

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

64. 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 [ 69%]

...      if (index!==this.length){             var end=this.elements[this.length];             this.elements[index]=end;             end._indexInCastShadowList=index;         }     } 2018-12-17 2 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自:...

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

65. laya.renders.VertexElementFormat_API3.0 [ 69%]

...ted All Inherited Externals Only exported Menu Globals "laya/renders/VertexElementFormat" VertexElementFormat Class VertexElementFormat 类用来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Sin...

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

66. 射线检测-选取物体 [ 69%]

...o = new Array(); function checkHit() { //从屏幕空间生成射线 point.elements[0] = Laya.MouseManager.instance.mouseX; point.elements[1] = Laya.MouseManager.instance.mouseY; camera.viewportPointToRay(point, ray); //射线检测获取所有检测碰撞到的物体 Laya.Physics.rayCastAll(ray, _o...

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

67. laya.d3.math.Matrix4x4_API3.0 [ 69%]

...rchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getElementByRowColumn getForward getInvertFront getTranslationVector identity i...

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

68. 物理引擎-牛顿摆 [ 69%]

...der.run(render); mouseConstraint = Matter.MouseConstraint.create(engine, { element: Render.canvas }); Matter.World.add(engine.world, mouseConstraint); render.mouse = mouseConstraint.mouse; } function initWorld() { var cradle = Matter.Composites.newtonsCradle(280, 100, 5, 30, 200); Matter.World.add(e...

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

69. laya.d3.graphics.VertexElementFormat_API3.0 [ 68%]

...All Inherited Externals Only exported Menu Globals "laya/d3/graphics/VertexElementFormat" VertexElementFormat Class VertexElementFormat 类用来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Sin...

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

70. Dragonbones龙骨动画 播放不同动作出现闪烁 混乱 [ 68%]

... = this.skeleton.getAnimNum(); for (var i = 0; i < emojinum; i++) { var element = this.skeleton.getAniNameByIndex(i); this.emojiArr[element]=1; } } if (!this.emojiArr[this.emoji]) { //如果表情不存在则使用默认第一个 this.emoji = this.skeleton.getAniNameByIndex(0); } this.play(this.e...

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