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

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

251. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 58%]

...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...

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

252. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 57%]

...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...

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

253. 屏幕适配模式选择scale_exactfit的话ui中的top,bottom,left,right怎么会无效啊? [ 56%]

...2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 关于适配采用showAll后留白部分的颜色问题 动画混合无效(版本2.6) lh文件内meshSprite添加阴影属性无效 横屏模式在锁定竖屏的iphone上不能正常显示的问...

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

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

...NewScript extends Laya.Script { private ui : 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 属...

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

255. laya.d3.core.Camera_API3.0 [ 55%]

...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...

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

256. TrailSprite3D的ALIGNMENT_TRANSFORM_Z模式和ALIGNMENT_VIEW模式有什么区别? [ 55%]

...2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 var 与 name 的详细区别是什么? IDE编辑模式,一片黑,打不开 横屏模式在锁定竖屏的iphone上不能正常显示的问题 想让一个2D的图形被鼠标点击时缩放一...

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

257. laya.d3.webxr.core.WebXRCamera_API3.0 [ 54%]

...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...

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

258. 继续发个屏幕适配引发的血案 [ 54%]

...长宽比和实际屏幕长宽比不一样的时候,所有文本输入框获得焦点后,文字会变成斜的,没错,斜的...我想让我写这个bug,我还得想想怎么才写得出来....     最后结果就是,没错,上面的折腾都是白搭...     我给La...

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

259. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...逃脱奖励的逻辑 console.log("离开毒气区域:" + self.label + "获得逃脱奖励,生命值+10"); } console.log("onTriggerExit========", other, self); } /** * 3D物理碰撞器事件(不适用2D),在每一次发生物理碰撞的开始时,引擎都会调用一次的事件方法...

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

260. [LayaNative3]3.2.0-beta2的windows模拟器启动黑屏 [ 43%]

...NavMesh表面上。在实际使用时,需要微调NavMeshLink的位置以获得最佳的寻路效果。 layaAir小孟 • 2024-07-03 20:13 2 & 3、这个可能是您构建发布时的一些选项没有设置好,因为我这边测试过是可以正常发布的,后续我们整理一下native...

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