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

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

141. laya.d3.core.light.SpotLightCom_API3.0 [ 71%]

...LightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType range shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shado...

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

142. laya.d3.physics.constraints.FixedConstraint_API3.0 [ 70%]

...structor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath Accessors anchor appliedImpulse awaked breakForce breakTorque connectAnchor currentForce currentTorque destroyed enabled hideFlags id Methods _initialize _setConnectRigidBody _setOwner destroy get...

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

143. Laya3D Camera 添加控制脚本 CameraMoveScript 如何添加? [ 70%]

... QZONE 微信 158*****303 赞同来自: this.camera = (<Camera>this.owner);     }  这一句总是报错,说CameraMoveScript上没有owner属性。 2020-05-22 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 泡茶用咖啡 ...

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

144. laya.d3.physics.PhysicsTriggerComponent_API3.0 [ 70%]

... Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith ccdMotionThreshold ccdSweptSphereRadius colliderShape collisionGroup destroyed enabled friction hideFlags id isActive isTrigger restitution rollingFriction simulati...

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

145. laya.html.HtmlLink_API3.0 [ 70%]

...tmlLink.ts:57 Parameters x: number y: number Returns boolean create create(owner: Text, element: HtmlElement): void Implementation of IHtmlObject.create Defined in laya/html/HtmlLink.ts:39 Parameters owner: Text element: HtmlElement Returns void destroy destroy(): void Implementation of IHtmlObject....

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

146. 3D物理引擎有没有什么办法可以像unity的constraint那样锁住某些轴的旋转与位移么? [ 70%]

...可以挂载到3d场景的子节点上的,会报 Uncaught TypeError: this.owner.localToGlobal is not a function TypeError: this.owner.localToGlobal is not a function 这个错误. 如果可以用2D引擎挂载到3D物体上,也是可以解决我现在的问题,如果这个方面可以有解决方案...

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

147. 在layaIde运行点击按钮播放声音,但是发布到微信工具里面运行声音就不播放了 [ 70%]

..."Sound/BtnClick.mp3",1);     //图片变化     Laya.Tween.to(this.owner,{scaleX:this.originalScaleX*0.9,scaleY:this.originalScaleY*0.9},100,Laya.Ease.backIn,Laya.Handler.create(this,      function(){      Laya.Tween.to(this.owner,{scaleX:this.originalScaleX,scaleY:this.originalSca...

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

148. 3D物理引擎实现类似constraint方法 [ 70%]

...2d物理系统无法挂载到3d场景中,会报 Uncaught TypeError: this.owner.localToGlobal is not a function TypeError: this.owner.localToGlobal is not a function, 2d的实现似乎并不是3d忽略一个轴这样的方式,它们是不同的坐标系统,所以不通用,而我这边需要用3D的...

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

149. 2.0中Tween为什么是先执行了complete回调函数,然后在执行tween函数本身。 [ 70%]

...,又给我还原回去了!!!!!!!!! Laya.Tween.to(this.owner, {x:0, y:80},5000,Laya.Ease.linearInOut,this.complete)   complete() { XXXXXXXX//重置父节点的方法 this.owner.pos(0, 0 );//重置坐标   } 2019-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

150. BUG:添加RigidBody组件会使anchorX、anchorY失效 [ 70%]

...); sp.anchorX = sp.anchorY = 0.5; sp.pos(event.stageX, event.stageY); this.owner.parent.addChild(sp); }p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hannotate SC'; -webkit-text-stroke: #000000} span.s1 {font-kerning: none}添加RigidBody组件后anchorX与anchorY失效,去掉sp.addComponent...

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