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

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

331. unity 1.7.13.3插件(unity版本5.6.3、2017.1)+1.7.13库,载入lh文件报错 [ 46%]

...是不行。。。。。醉了 Uncaught TypeError: Cannot read property 'owner' of null at AnimationTransform3D.__proto._setLocalRotation (laya.d3.js:17222) at Array.AnimationNode._setLocalRotation (laya.d3.js:340) at Animator.__proto._onAnimationStop (laya.d3.js:22674) at Animator.__proto._updatePl...

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

332. 面板容器组件 · LayaAir3.0文档 · LAYABOX [ 45%]

... "atlas/comp/hscroll.png"; panel.size(600, 275); panel.pos(150, 150); this.owner.addChild(panel); // 创建Image组件,作为Panel的子节点 let img: Laya.Image; for (var i: number = 0; i < 4; i++) { // 创建4个Image,水平排列 img = new Laya.Image("atlas/comp/image.png"); img.x = i * 5...

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

333. 添加或修改物理ChainCollider属性points时,报错 [ 45%]

...s._started) { this._started = true; this.enabled = true; } var ground=this.owner.getChildByName("ground"); ground.addComponent(Laya.ChainCollider); this._chains=ground.getComponent(Laya.ChainCollider); } 静观 • 2018-11-29 14:37 报错内容: at Object.box2d.b2Assert (file:///E:/Devel...

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

334. 微信小游戏 · LayaAir3.0文档 · LAYABOX [ 45%]

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

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

335. laya.d3.physics.PhysicsComponent [ 45%]

...ingleton : Boolean[read-only] 获取是否为单实例组件。 Component owner : Node [只读]获取所属Node节点。 Component  restitution : Number 获取弹力。 PhysicsComponent  rollingFriction : Number 获取滚动摩擦力。 PhysicsComponent  simulation : PhysicsSimulation[read-on...

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

336. 单选框组件 · LayaAir3.0文档 · LAYABOX [ 44%]

...io.labelSize = 20; radio.labelBold = true; radio.labelVAlign = "top"; this.owner.addChild(radio); } } 效果如动图2-1所示: (动图2-1) Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间: 2023-10-10 10:51:44 img{cursor:pointer}

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

337. 物理系统之FixedConstraint(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 43%]

...约束的breakForce ```typescript onStart() { this.fixedConstraint = this.owner.getComponent(FixedConstraint); //设置打破约束的力的阈值 this.fixedConstraint.breakForce = 1000; } onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstrain...

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

338. 物理系统之FixedConstraint(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 43%]

...约束的breakForce ```typescript onStart() { this.fixedConstraint = this.owner.getComponent(FixedConstraint); //设置打破约束的力的阈值 this.fixedConstraint.breakForce = 1000; } onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstrain...

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

339. 垂直滑动条组件 · LayaAir3.0文档 · LAYABOX [ 43%]

...s.tick = 1; vs.changeHandler = new Laya.Handler(this, this.onChange); this.owner.addChild(vs); } private onChange(value: number): void { console.log("滑块的位置:" + value); } } 运行效果: (动图2-1) Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间...

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

340. 水平滑动条组件 · LayaAir3.0文档 · LAYABOX [ 43%]

...s.tick = 1; hs.changeHandler = new Laya.Handler(this, this.onChange); this.owner.addChild(hs); } private onChange(value: number): void { console.log("滑块的位置:" + value); } } 运行效果: (动图2-1) Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间...

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