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

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

311. laya.d3.component.animation.RigidAnimations [ 50%]

...ad-only] 获取播放器当前动画的节点数量。 KeyframeAnimations owner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D player : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D  templet...

来源: laya_api 发布时间: 20170929

312. laya.physics.joint.PulleyJoint [ 50%]

...接的节点,是相对于otherBody的左上角位置偏移PulleyJoint owner : Node [只读]获取所属Node节点。 Component  ratio : Number = 1.5[首次设置有效]两刚体移动距离比率PulleyJoint  selfAnchor : Array[首次设置有效]自身刚体链接点,是相对于自身刚...

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

313. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 49%]

...or3(0,0,0);     }     onStart(){         this.scene = this.owner.parent;         this.text = this.scene.parent.getChildByName("ceshi");         this.camera = this.scene.getChildByName("camera");     }     onUpdate(){         let touchCount = this.scene...

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

314. laya.d3.component.animation.SkinAnimations [ 49%]

...ad-only] 获取播放器当前动画的节点数量。 KeyframeAnimations owner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D player : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D  templet...

来源: laya_api 发布时间: 20170929

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

...的连接刚体,可不设置,默认为左上角空刚体DistanceJoint owner : Node [只读]获取所属Node节点。 Component  selfAnchor : Array[首次设置有效]自身刚体链接点,是相对于自身刚体的左上角位置偏移DistanceJoint  selfBody : RigidBody[首次设置有...

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

316. 升级到3.0-beta6无法选择资源了 [ 49%]

... @regClass() export class NewScript extends Laya.Script {     //declare owner : Laya.Sprite3D;      @property(String)     public text: string = "";      @property(Laya.Image)     public image: Laya.Image = null;      constructor() {         super();     } } 附件 : --> 2023-04-...

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

317. Sprite3D添加组件或脚本(JavaScript-3D基础(JS)-LayaAir3D之精灵) [ 49%]

....log("onAwake"); } onStart() { console.log("onStart"); } onUpdate() { this.owner.transform.rotate(this.rotation, false); } onLateUpdate() { console.log("onLateUpdate"); } } ``` 这样脚本就添加完成了,我们可以看下运行之后的效果: ![](img/2.gif)(图2)

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

318. 内置骨骼动画 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...ture.x = 300; this.mArmature.y = 350; this.mArmature.scale(0.5, 0.5); this.owner.addChild(this.mArmature); //设置动画播放完成后,调用completeHandler继续播放下一个动画 this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler():...

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

319. [LayaAir3]给box设置filters,里面的spine无效或者无法显示 [ 49%]

...updateWorldTransform(); this.spineItem.render(this._currentPlayTime); this.owner.repaint(); } layabox • 2024-11-09 14:19 @136*****142:我们是用你的示例工程实测没问题的,可能是你不太会弄,给搞错了。那你联系右下角的引擎客服微信,要一个内部的安装...

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

320. Sprite3D添加组件或脚本(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 49%]

...log("onAwake"); } onStart() { console.log("onStart"); } onUpdate() { (this.owner as Laya.Sprite3D).transform.rotate(this.rotation, false); } onLateUpdate() { console.log("onLateUpdate"); } } ``` 这样脚本就添加完成了,我们可以看下运行之后的效果: ![](img/2.gif)(图2)

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