大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya_社区(399) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
...idth"; // 宽度不变 this.engine; var world; this.engine = Matter.Engine.create({ enableSleeping: true // 开启睡眠 }); world = this.engine.world; Matter.Engine.run(this.engine); // Engine 启动 var render = LayaRender.create({ engine: this.engine, options: { wireframes: false, background: "#0...
来源: Laya_社区 发布时间: 20180522
...y Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getVideo hasListener isCreateFromURL off offAll offAllCaller on once setSource create destroyUnusedResources Constructors constructor new HtmlVideo(): HtmlVideo Overrides Bitmap.__constru...
来源: Laya3.0_api 发布时间: 20231102
...加载完运行过回调函数以后再进行。如下句 : Laya.loader.create( MyResouces.arrResources, Handler.create(this,onLoadComplete) ); 意为加载完MyResouces.arrResources这些资源后调用方法onLoadComplete,添加碰撞盒子需要在onLoadComplete里或者onLoadComplete运行...
来源: Laya_社区 发布时间: 20181012
..., {read: false}).pipe(clean()) }) /** 创建文件hash清单 */ gulp.task('create:hash',['clean'], () => { return gulp.src([ './server/static/**/*.atlas', './server/static/**/*.png', './server/static/**/*.mp3' ]) .pipe(hash({ template: '<%= name %><%= ext %>?version=<%= hash %>'...
来源: Laya_社区 发布时间: 20180412
...如何带参数? Tween.to(sp, {x:_x, y:_y, alpha:1}, 1000, null, Handler.create(This, function(){ sp.destroy(); }), 500); 这样写sp并不能被销毁,请问laya里沒有onCompleteParams方法吗? 2017-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20170608
...: Function, args: any[] = null, coverBefore: boolean = true): void { this._create(true, false, delay, caller, method, args, coverBefore); } 使用示例如下: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends R...
来源: Laya3.0_文档 发布时间: 20251010
... } Laya.loader.create(_path, Handler.create(this,OnComplete,null),null,null,null,1,true,groupName); }else{ var item:Sprite3D = ...
来源: Laya_社区 发布时间: 20180601
...:*) 根据指定的属性值,创建一个 Color 类的实例。 Color create(str:*):Color[static] 根据指定的属性值,创建并返回一个 Color 类的实例。 ColorProperty Detail_drawStylepropertypublic var _drawStyle:*numColorproperty public var numColor:uint uint 型颜色值。st...
来源: laya_api 发布时间: 20170422
...// "scaleX": 0, // "scaleY": 0 },550,null,Handler.create(this,this.skillEffecting)); 如代码所示,如果写了四个需要变化的属性,前两个不会执行,只有后面的会执行。 分两个tween 写也是这样,是有什么不对的么?还是单次只能...
来源: Laya_社区 发布时间: 20180121
...) 创建一个 VertexBuffer3D,不建议开发者使用并用VertexBuffer3D.create()代替 实例。 VertexBuffer3D bind():Boolean[override] VertexBuffer3D destroy():void[override] VertexBuffer3D getData():* 获取顶点数据。 VertexBuffer3D setData(data:*, bufferOffset:int = 0, dataSt...
来源: Laya2.0_api 发布时间: 20190513