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

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

501. laya2.7.3 Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 [ 74%]

...tor3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false);  let directionLight = new Laya.DirectionLight(); scene.addChild(directionLight); let mat = directionLight.transform.worldMatrix; mat.setForward(new Laya.Vector3(1.0, -1.0, -1.0)); directionLight.transform.worldMatrix...

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

502. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 74%]

...mpler: number = 1 多重采样点个数。 Default value mipmap: boolean = false 是否生成mipmap。 Returns MulSampleRenderTexture Properties _generateMipmap _generateMipmap: boolean Inherited from RenderTextureCube._generateMipmap Defined in laya/d3/resource/RenderTexture.ts:129 _inPool _inPool:...

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

503. list怎么取消弹性滑动? [ 74%]

...交 1 个回复 cuixueying 赞同来自: list.scrollBar.mouseWheelEnable=false; 2017-04-27 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 qq502416708 相关问题 List滑动条会引起单元格上的按钮点击后多次触发点击事...

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

504. Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 [ 74%]

...ition.z); this._setTransformFlag(Laya.Transform3D.TRANSFORM_WORLDPOSITION, false); } if (force || this._getTransformFlag(Laya.Transform3D.TRANSFORM_WORLDQUATERNION)) { var shapeRotation = this._colliderShape.localRotation; var btRotation = CannonPhysicsComponent._btQuaternion0; var rotation = transf...

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

505. 关于坐标转换 [ 74%]

...(可选)是否创建一个新的Point对象作为返回值,默认为false,使用输入的point对象返回,减少对象创建开销。          * @return 转换后的坐标的点。          */         public function localToGlobal(point:Point, createNewPoint:Boolea...

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

506. HitArea能设置多少个? [ 74%]

...al可以设置flat shading么 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 anchor锚点设置不生效 关于同为object层,层级设置无效的问题 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让...

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

507. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 74%]

...or3(0, 2, 20)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = new Laya.Vector4(0.2, 0.2, 0.2, 1.0); var directionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //设置平行光的方向 var mat = directionLight.transform.worldMatri...

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

508. [LayaAir3]button组件连续设置gray属性,会报错 [ 74%]

...续设置gray属性,会报错   连续切换设置组件gray属性true/false,报错  附件 : --> 2025-08-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 LayaAir小牛 赞同来自: 您好,可以给我...

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

509. VR摄像机怎么设置坐标跟拍摄角度? [ 74%]

..., 64, -33)); camera.transform.rotate(new Laya.Vector3(0.05, 155, 0), true, false); camera.clearColor = null; camera.addComponent(VRCameraMoveScript); 我这样跟传统的摄像机一样去设置报错了! 2017-07-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

510. laya.d3.graphics.VertexBuffer3D [ 74%]

...ion:VertexDeclaration, vertexCount:int, bufferUsage:int, canRead:Boolean = false) 创建一个 VertexBuffer3D,不建议开发者使用并用VertexBuffer3D.create()代替 实例。 VertexBuffer3D _bind():voidBuffer  bindWithIndexBuffer(ib:IndexBuffer3D):void 和索引缓冲一起绑定。 VertexBu...

来源: laya_api 发布时间: 20170929