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

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

1. 资源依赖面板 · LayaAir3.4 · 引擎文档 · LAYABOX [ 100%]

...await IEditorEnv.AssetDependencyTool.queryReference([ "45897bb8-a4bd-4607-a70e-ba1a7546882f" ]); Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-12-16 18:46:01 img{cursor:pointer}

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

2. 多行输入文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 94%]

...e; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; this.owner.addChild(ta); } } (代码中的图片资源来自“引擎API使用示例”项目,开发者可以自行创建下载) 运行结果: (图2-1) Copyright ©Layabox 2026 all right reserved,powe...

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

3. 2D光遮挡器与阴影 · LayaAir3.4 · 引擎文档 · LAYABOX [ 76%]

...SpotLight(): void { this.spotLight.pos(50, 350); this.spotLight.rotation = 70; this.owner.addChild(this.spotLight); let spotLightComponent = this.spotLight.addComponent(Laya.SpotLight2D); spotLightComponent.color = new Laya.Color(0.937, 1, 0); spotLightComponent.intensity = 1.25; spotLightComponent....

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

4. 单选框组容器组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 74%]

...et rg: Laya.RadioGroup = new Laya.RadioGroup(); rg.skin = skin; rg.space = 70; rg.direction = "vertical"; rg.labels = "Item1, Item2, Item3"; rg.labelColors = "#787878,#d3d3d3,#FFFFFF"; rg.labelSize = 20; rg.labelBold = true; rg.selectHandler = new Laya.Handler(this, this.onSelectChange); this.owner....

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

5. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 38%]

...间 state.clipStart = 40 / 150; //动作播放结束时间 state.clipEnd = 70 / 150; //设置动作 state.clip = animator.getDefaultState().clip; //为动画组件添加一个动作状态 animator.getControllerLayer(0).addState(state); //播放动画 animator.play("run"); //创建BlinnPhong材质 va...

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