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

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

51. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 59%]

...设置。此模块为固有模块,不可禁用。该模块定义了粒子始化时的持续时间、循环方式、发射速度、大小等一些列基本的参数。 (图3.1.1-1) Duration:粒子系统不断发射粒子的持续时间,或者说一个周期时间内可以发射多次粒...

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

52. 时间轴动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 59%]

...eMain.ts** ```typescript // 程序入口 class GameMain{ constructor() { //始化引擎 Laya.init(1334,750,Laya.WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas",Laya.Handler.create(this,this....

来源: Laya2.0_文档 发布时间: 20210715

53. 时间轴动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 58%]

...`` 完整的示例代码如下: **入口GameMain.js** ```javascript //始化引擎 Laya.init(600, 400); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas", Laya.Handler.create(this, onLoaded)); fu...

来源: Laya2.0_文档 发布时间: 20210715

54. laya.d3.core.scene.Scene [ 55%]

...tree(width:int, height:int, depth:int, center:Vector3, level:int = 6):void 始化八叉树。 Scene isMouseEvent(type:String):Boolean 检测指定事件型是否是鼠标事件。 EventDispatcher  load(url:String):Scene[static] 加载场景,注意:不缓存。 Scene loadImage(url:String, x...

来源: laya_api 发布时间: 20170929

55. laya.display.Animation_API3.0 [ 54%]

... Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation....

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

56. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...BuildTask的定义为: export interface IBuildPlugin { /** * 构建任务始化时。可以在这个事件里修改config和platformConfig等配置。 * @param task */ onSetup?(task: IBuildTask): Promise<void>; /** * 构建任务开始。可以在这个事件里在始化目标目录的...

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

57. laya.ui.TextArea [ 48%]

...  onVBarChanged(e:Event):voidTextArea preinitialize():void[override] 预始化。 TextInputEvents Hide Inherited Events Show Inherited Events Event Summary Defined By added添加到父对象后调度。Node blur当失去输入焦点后调度。TextInput change文本内容发生改变后调...

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

58. laya.ui.TextArea [ 48%]

...  onVBarChanged(e:Event):voidTextArea preinitialize():void[override] 预始化。 TextInput resetLayoutX():void 重置对象的 X 轴(水平方向)布局。 Component resetLayoutY():void 重置对象的 Y 轴(垂直方向)布局。 ComponentEvents Hide Inherited Events Show Inherited...

来源: laya_api 发布时间: 20170929

59. 时间轴动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 48%]

...ebgl.WebGL; public class TimeLineDemo { public function TimeLineDemo() { //始化舞台 Laya.init(1334,750, WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoad回调方法 Laya.loader.load("res/atlas/ui.atlas", Handler.create(this, onLoaded)); } ...

来源: Laya2.0_文档 发布时间: 20210715

60. laya.ui.Dialog_API3.0 [ 41%]

...ialog。 function Dialog_Instance() { Dialog_Instance.__super.call(this);//始化 var bg = new laya.ui.Image("resource/ui/bg.png");//新建一个 Image 的实例 bg 。 bg.sizeGrid = "10,40,10,5";//设置 bg 的网格信息。 bg.width = 150;//设置 bg 的宽度。 bg.height = 250;//设...

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