大约有 432 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0104 秒)
...ticleShader extends laya.webgl.shader.Shader var ParticleShader=(function(_super){ function ParticleShader(){ ParticleShader.__super.call(this,ParticleShader.vs,ParticleShader.ps,"ParticleShader"); } __class(ParticleShader,'laya.particle.shader.ParticleShade...
来源: Laya_社区 发布时间: 20171109
...tion }) //在IDE面板中显示属性 ani: Laya.Animation; constructor() { super(); } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.ani.source = "resources/role.atlas"; //接收动画数据源为图集 this.ani.autoPlay =...
来源: Laya3.0_文档 发布时间: 20251010
...r = 5; private assets: any[]; private dialog: Laya.Dialog; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.assets = ["resources/res/ui/dialog (1).png", "resources/res/ui/close.png"]; Laya.l...
来源: Laya3.0_文档 发布时间: 20230303
...detroyChildren===void 0)&& (detroyChildren=true); _super.prototype.destroy.call(this,detroyChildren); // native会崩溃 // this.videoElement.removeEventListener("abort",Video.onAbort); // this.videoElement.removeEventListener("...
来源: Laya_社区 发布时间: 20181207
...信 nazgul 赞同来自: constructor(mapname:string, x:number, y:number){ super(); //显示登陆界面 this.tMap = new Laya.TiledMap() this.tMap.antiCrack = true //创建Rectangle实例,视口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(0, 0, Conf.App_Width, Conf.App_Height); //创建T...
来源: Laya_社区 发布时间: 20170627
...de(); }, this); // 获取配置创建的组件 todo } protected onHide() { super.onHide(); this.contentPane.offAllCaller(this); } private startGen(): void { // todo } } class SplitAtlasSetting { @IEditor.onLoad static start() { Editor.typeRegistry.addTypes([ { name: "SplitAtlasSetting", catalogBarSt...
来源: Laya_社区 发布时间: 20250731
...ds Laya.Value2D {class ShaderValue extends Laya.Value2D { constructor () { super(0, 0) var _vlen = 8 * Laya.CONST3D2D.BYTES_PE this.position = [2, Laya.WebGLContext.FLOAT, false, _vlen, 0] this.texcoord = [2, Laya.WebGLContext.FLOAT, false, _vlen, 2 * Laya.CONST3D2D.BYTES_PE] this.color = [4, Laya.W...
来源: Laya_社区 发布时间: 20180531
... (destroyChild===void 0)&& (destroyChild=true); this._idMap=null; _super.prototype.destroy.call(this,destroyChild); var list=laya.display.Scene.unDestroyedScenes; for (var i=0,n=list.length;i < n;i++){ if (list[i]===this){ list.splice(i,1); return; } } }这里改动了同一个数组,...
来源: Laya_社区 发布时间: 20181128
... protected scene: Laya.Scene3D; constructor() { super(); } /** * @private */ protected _updateRotation(): void { if (Math.abs(this.yawPitchRoll.y) < 1.50) { Laya.Quaternion.createFromY...
来源: Laya_社区 发布时间: 20200707
...fined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let config3D = new Laya.Config3D(); config3D.is...
来源: Laya_社区 发布时间: 20200903