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

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

211. 射线检测报错,outHitInfo.sprite3D=null; [ 62%]

...D; private camera : Laya.Camera; private scene: Laya.Scene;  public _load(owner : any):void{ this.scene = owner; this.camera = this.scene.scene.getChildByName("Main Camera") as Laya.Camera; console.log("当前摄像机的名字是:" + this.camera.name); }  public _start(state:Laya.RenderState):v...

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

212. laya.d3.component.volume.batchvolume.StatiVertexMergeBatchRender_API3.0 [ 62%]

...Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow checkLOD destroyed distanceForSort enabled hideFlags id lightmapIndex lightmapScaleOffset lodCullRateArray material materials ratioIgno...

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

213. laya.d3.core.trail.TrailGeometry_API3.0 [ 61%]

...ArrayParams setDrawElemenParams Constructors constructor new TrailGeometry(owner: TrailFilter): TrailGeometry Overrides GeometryElement.constructor Defined in laya/d3/core/trail/TrailGeometry.ts:86 Parameters owner: TrailFilter Returns TrailGeometry Properties _geometryElementOBj _geometryElementOBj...

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

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

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

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

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

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

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

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

219. UI运行时 · LayaAir3.4 · 引擎文档 · 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_文档 发布时间: 20251010

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