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

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

201. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 60%]

...structor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath CONFIG_MOTION_TYPE_FREE CONFIG_MOTION_TYPE_LIMITED CONFIG_MOTION_TYPE_LOCKED Accessors XMotion YMotion ZMotion anchor angularBounce angularDamp angularLimitSpring angularXMotion angularYMotion ang...

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

202. vs code中ts代码提示问题 [ 60%]

... code中ts代码提示问题 代码提示似乎不全。。? 比如 this.owner.scene. 这里就没有提示了。 2020-02-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折...

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

203. BloomEffect 没有效果啊 [ 60%]

...啊 帮忙看看 为什么没有效果啊 let camera : Laya.Camera = this.owner.getChildByName("Main Camera") as Laya.Camera ;let postProcess:Laya.PostProcess = new Laya.PostProcess; let bloom:Laya.BloomEffect = new Laya.BloomEffect(); // bloom.color = Laya.Color.RED; bloom.intensity = 0.5; bloom.cl...

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

204. laya.d3.animation.AnimationTransform3D_API3.0 [ 60%]

...Caller on once setParent Constructors constructor new AnimationTransform3D(owner: AnimationNode): AnimationTransform3D Defined in laya/d3/animation/AnimationTransform3D.ts:30 创建一个 Transform3D 实例。 Parameters owner: AnimationNode 所属精灵。 Returns AnimationTransform3D Methods event...

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

205. Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent [ 60%]

...s = bt.btCollisionObject_getCollisionFlags(btColObj);         if (this.owner.isStatic) {             if ((flags & PhysicsComponent.COLLISIONFLAGS_KINEMATIC_OBJECT) > 0)                 flags = flags ^ PhysicsComponent.COLLISIONFLAGS_KINEMATIC_OBJECT;             flags ...

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

206. UI运行时 · LayaAir3.3 · 引擎文档 · LAYABOX [ 60%]

... RuntimeScript; onStart() { // 获得场景的Runtime对象 this.ui = this.owner.scene as RuntimeScript; // Button添加鼠标事件,让Image不显示 this.ui.Button.on( Laya.Event.MOUSE_DOWN, null, ()=>{ this.ui.Image.visible = false; }); } } ui 属性直接从脚本中通过 this.owner.scene ...

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

207. 碰撞器获取问题 [ 59%]

...取这个物体身上的碰撞器就获取不到了,一直报空 (this.owner as Laya.Sprite3D).getComponent(Laya.PhysicsCollider) as Laya.PhysicsCollider;log里面也没有这个碰撞组件的信息,只有刚体和脚本的 但是把刚体去掉以后再导出,代码再去获取这个物...

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

208. laya.d3.core.ui3d.UI3D_API3.0 [ 59%]

...Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge TempMatrix Accessors awaked billboard bounds boundsChange castShadow cull destroyed distanceForSort enableHit enabled hideFlags id lightmapIndex lightmapScaleOffset material materials...

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

209. 事件管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 59%]

...如下代码: onAwake(): void { //侦听自定义的事件"Click" this.owner.on("Click",this,()=>{ console.log("侦听到自定义的“Click”事件"); }) } //鼠标点击后执行,发送Click事件。 onMouseClick(evt: Laya.Event): void { //自定义的事件 this.owner.event("Click"); } ...

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

210. 动画加载完成的监听是怎样写? [ 59%]

...样写? let fly = Laya.Pool.getItemByCreateFun("fly", this.fly, this); owner.addChild(fly); fly.play(0, true, "ani1");   fly() { let ani = new Laya.Animation(); ani.loadAnimation("plaen4.ani"); return ani; }   这样写是可以正常播放,但是会有这个警告 ani not found: plaen4.ani#an...

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