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

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

201. laya.display.Node [ 49%]

... Node  addChildren(... args):void 批量增加子节点 Node  addComponent(type:Class):* 添加组件。 Node  addComponentIntance(comp:Component):* 添加组件实例。 Node  addInputChild(node:Node):NodeNode  callLater(method:Function, args:Array = null):void 延迟运行指定的函数...

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

202. laya3d物体碰撞与触发检测的问题 [ 49%]

...(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))); box.addComponent(Laya.PhysicsCollider); var Rig=box.addComponent(Laya.Rigidbody3D); Rig.colliderShape=new Laya.BoxColliderShape(1,1,1); Rig.isTrigger=true; box.transform.translate(new Laya.Vector3(0, 2, 0), false); box.addComponent(BoxM...

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

203. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 49%]

...CTIONAL SHADERDEFINE_RECEIVE_SHADOW Accessors active activeInHierarchy components depth destroyed displayedInStage hideFlags id is3D layer meshFilter meshRenderer minX minZ numChildren parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addCompon...

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

204. dialog 里的数据已经获取到了,也赋值了但是页面没跟新,addChild好像无效果 [ 49%]

...何吓吓 赞同来自: 你是1.0还是2.0的,2.0的是自动更新,在onEnable()方法里面,如果是1.0你应该在打开dialog之前更新呐 2018-12-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 X. 相关问题 请...

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

205. iOS环境浏览器使用mask黑屏 [ 49%]

...以上的版本编译实例项目,这里用的2.3版本,在GameControl onEnable中执行如下代码:private _sp = new Laya.Sprite(); private _testMask() { this._sp.graphics.clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.mask = t...

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

206. 脚本的事件(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

207. 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

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

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

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

209. 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

210. 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