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

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

181. 分离模式,但是layaMaxUI的里面说是变量名取不到 [ 50%]

...,加载资源的异步时间。操作可以在场景的生命周期函数onEnable里开始。最好不要1.0和2.0的方法混着用 2019-09-04 0 4 分享 微博 QZONE 微信 155*****831 赞同来自: 你看,我用Laya.Scene.open() 去掉第二个场景页面,也是过不去啊  2019-09-04 0 ...

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

182. laya.physics.joint.WeldJoint [ 50%]

...physics.jointClasspublic class WeldJointInheritanceWeldJoint JointBase Component Object 焊接关节:焊接关节的用途是使两个物体不能相对运动,受到关节的限制,两个刚体的相对位置和角度都保持不变,看上去像一个整体 Public Properties Hide Inherited P...

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

183. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...aya.Socket; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.socket = new Laya.Socket(); // 注册事件监听 this.socket.on(Laya.Event.OPEN, this, this.onSocketOpen); this.socket.on(Laya.Event.MESSAGE, this, this.onMessageReceived); this.socket.on(Laya.Event.C...

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

184. laya.d3.core.light.PointLight_API3.0 [ 50%]

...url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResol...

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

185. laya.d3.core.BaseCamera_API3.0 [ 50%]

...NDERING WORLDINVERTFRONT Accessors active activeInHierarchy clearColor components cullingMask destroyed displayedInStage farPlane fieldOfView hideFlags id is3D layer maxlocalYDistance nearPlane numChildren orthographic orthographicVerticalSize parent renderingOrder scene skyRenderer timer transform ...

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

186. [LayaAirIDE3]3.0.10 父容器做了一次scale缩放操作,子节点的label文字变模糊加粗 [ 50%]

...别?不是普通的容器吗?增加了什么功能呢? laya 2.0 bug onEnable 分离模式节点没有创建 Button 中的文字无法垂直居中 当屏幕尺寸,缩放模式,横竖屏 发生改变时会报错Uncaught TypeError: Cannot read property 'length' of null 获得节点在stage中的...

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

187. laya.d3.core.light.SpotLight_API3.0 [ 50%]

...url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResol...

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

188. [LayaAir2]字节小游戏物理的坐标不一样,碰撞盒会比laya的小,物理的位置也不一样 [ 50%]

....Point(18,0);     cameraOffset:Laya.Point=new Laya.Point(180,570);     onEnable(): void {         Laya.Physics.I.allowSleeping = false;         this.strWorldRoot= this.owner.scene.strWorldRoot;         Laya.Physics.I.worldRoot = this.strWorldRoot;     }     onUpdate(): void {   ...

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

189. drawToCanvas绘制显示不全 [ 50%]

... 'px';         document.body.appendChild(this.nativeImg)     }     onEnable() {         Laya.timer.once(1000, this, this.delayShowImg);     }     delayShowImg() {         let canvas = this.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0);         let str = canvas.toBas...

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

190. laya.d3.core.RenderableSprite3D_API3.0 [ 50%]

...ETRICGI_PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer numChildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater...

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