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

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

201. 脚本的事件(ActionScript-3D基础(AS3)-LayaAir3D的脚本使用) [ 49%]

...ir.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.component.Script3D))。 关于脚本的添加使用这里不做过的讲解,在以往的示例中都有或多或少的使用脚本。关于脚本的官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&...

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

202. laya.physics.joint.PulleyJoint [ 49%]

...ics.jointClasspublic class PulleyJointInheritancePulleyJoint JointBase Component Object 滑轮关节:它将两个物体接地(ground)并彼此连接,当一个物体上升,另一个物体就会下降 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDe...

来源: Laya2.0_api 发布时间: 20190513

203. 添加继承自Laya.Sprite3D脚本的节点移除时调用了两次onDisable [ 49%]

...承自Laya.Sprite3D。使用Laya.Sprite3D.instantiate实例化,并addComponent自定义的类;添加到场景中,再移除;移除时发现脚本的onDisable调用了两次。断点调试后发现如下图的代码:首先在1的方法中调用_inActiveHierachy和inActiveScripts;然后在2...

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

204. laya.physics.joint.DistanceJoint [ 49%]

...jointClasspublic class DistanceJointInheritanceDistanceJoint JointBase Component Object 距离关节:两个物体上面各自有一点,两点之间的距离固定不变 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  collideConnected : B...

来源: Laya2.0_api 发布时间: 20190513

205. laya.d3.core.MeshSprite3D_API3.0 [ 48%]

...ETRICGI_PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer meshFilter meshRenderer numChildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstan...

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

206. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 48%]

...ETRICGI_PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer numChildren parent particleRenderer particleSystem scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addCompone...

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

207. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 48%]

...ETRICGI_PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer meshFilter numChildren parent scene skinnedMeshRenderer timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponen...

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

208. laya.d3.core.trail.TrailSprite3D_API3.0 [ 48%]

...ETRICGI_PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer numChildren parent scene timer trailFilter trailRenderer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInst...

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

209. 请问Laya如何使用第三方物理库 [ 48%]

...; public ignoreRotate: boolean = false; ...OnAwake里面创建CANNON.Body, OnEnable里面把CANNON.Body加入到CANNON.World, OnDisable则移除, onUpdate里面根据CANNONBody的信息更新(this.owner as Laya.MeshSprite).transfrom.(最好用插值,平滑点,四元数代码就拷贝Laya源码改改...

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

210. LayaBox加载TiledMap地图和注意事项 [ 48%]

...图        this.tMap.createMap("./map/desert.json", viewRect); } onEnable() {        console.log(Laya.TiledMap)    } onDisable() { }} [/code]   重点来了,我们切回到编辑模式,选中场景文件,选中脚本文件并拖拽至runtime属性中。 到了这一步,...

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