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

大约有 121 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0035 秒)

51. 在2.0里onTriggerEnter 的碰撞点坐标如何获得? [ 59%]

...: 与内容相关的链接 提交 1 个回复 苏栢 赞同来自: other.owner.contains[0] 把这个输出出来找找试试 具体是里面的那个我忘了 2019-07-25 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 btiger19 相关问...

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

52. 多点触控的使用(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 59%]

...sition.y = this.touch.position.y; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._sce...

来源: Laya2.0_文档 发布时间: 20210715

53. 多点触控的使用(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 59%]

...sition.y = this.touch.position.y; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._sce...

来源: Laya2.0_文档 发布时间: 20210715

54. laya.d3.physics.constraints.FixedConstraint_API3.0 [ 59%]

...structor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath Accessors anchor appliedImpulse awaked breakForce breakTorque connectAnchor currentForce currentTorque destroyed enabled hideFlags id Methods _initialize _setConnectRigidBody _setOwner destroy get...

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

55. 获取不到父物体 节点 [ 59%]

...s game_mgr extends Laya.Script { constructor() { super(); console.log(this.owner); } } 附件 : --> 2019-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 177*****521 赞同来自: 一找到原因, 不能在...

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

56. 显示文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...aya; @regClass() export class LabelControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.Label } ) public lab: Laya.Label; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake...

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

57. 渲染队列排序问题,导致Alpha混合效果出错 [ 58%]

...ender=renders ;             if (camera._isLayerVisible(render._owner._layer)&& render._enable){                 Stat.frustumCulling++;                 if (!camera.useOcclusionCulling || render._needRender(boundFrustum)){              ...

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

58. TiledMap地图 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

...e2D下 private onLoaded(): void { this.tMap.mapSprite().removeSelf(); this.owner.addChild(this.tMap.mapSprite()); } //地图加载完成的回调 private completeHandler(e: any = null): void { this.onLoaded(); } } 编译运行代码,效果如图3-3所示,说明地图已创建成功。 (图3-3...

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

59. laya.d3.component.volume.reflectionprobe.ReflectionProbe_API3.0 [ 57%]

...Constructors constructor Properties _extra _isScene _singleton _updateMark owner runInEditor scriptPath TEMPVECTOR3 defaultTextureHDRDecodeValues Accessors ambientColor ambientIntensity ambientMode ambientSH ambientSphericalHarmonics awaked bounds boundsMax boundsMin boxProjection customReflection d...

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

60. 2D光遮挡器与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

...器 createLightOccluder(): void { this.lightOccluder.pos(233, 265); this.owner.addChild(this.lightOccluder); let lightOccluderComponent = this.lightOccluder.addComponent(Laya.LightOccluder2D); lightOccluderComponent.canInLight = true; lightOccluderComponent.outside = true; let poly: Laya.PolygonPoin...

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