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

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

31. 3D变换 · LayaAir3.4 · 引擎文档 · LAYABOX [ 82%]

...1,示例代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; // 平移距离 private translate: Laya.Vector3 = new Laya.Vector3(1, 1, 1); constructor() { super(); } /** * 组件...

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

32. 【建议】module ui 是不是没有必要每一个class都要用一个新的module ui包裹 [ 82%]

...ui包裹 如图, 因为要导出module ui,每次改UI都要一个一个export module ui。 为啥每个class都要用个新的包裹。 附件 : --> 2018-03-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 La...

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

33. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 82%]

...景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? export module ui { export class GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button....

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

34. 视频节点 · LayaAir3.4 · 引擎文档 · LAYABOX [ 82%]

...脚本控制VideoNode: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.VideoNode }) public video: Laya.VideoNode; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法...

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

35. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 82%]

...景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? export module ui {     export class GameSceneuiUI extends Laya.Scene {         public static  uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":...

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

36. TS版分包报错 [ 82%]

...时,使用的是类似如下写法:  namespace com.test {         export class MyTest{         // do something...         } }        今天在定义组件并导出后,在 layaUI.max.all.ts 下生成了类似如下代码: module ui.coreUI {         export class TestUI ex...

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

37. LayaIDE 2.13.0 添加组件菜单无法显示二级继承的子类 [ 82%]

...DE 2.13.0 添加组件菜单无法显示二级继承的子类 实例代码 export default class View1 extends Laya.Script { }   import View1 from "./View1"; export default class View2 extends View1 { }升级到2.13.0后,在编辑模式属性面板点击【添加组件】按钮,显示的【Code...

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

38. laya.components.AnimatorControllerParse_API3.0 [ 81%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorControllerParse" AnimatorControllerParse Class AnimatorControllerParse Hierarchy AnimatorControllerParse Index Methods parse Methods Static parse parse(data: TypeAnimatorControll...

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

39. laya.d3.shader.postprocess.BlitScreenShaderInit_API3.0 [ 81%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/postprocess/BlitScreenShaderInit" BlitScreenShaderInit Class BlitScreenShaderInit Hierarchy BlitScreenShaderInit Index Methods init Methods Static init init(): void Defined in laya/d3/sha...

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

40. laya.d3.core.scene.bvh.BVHSpatialConfig_API3.0 [ 81%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/scene/bvh/SpatialManager" BVHSpatialConfig Class BVHSpatialConfig BVHConfig Hierarchy BVHSpatialConfig Globals "laya/d3/core/scene/bvh/SpatialManager" BVHSpatialConfig BVHSpatialManager Leg...

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