大约有 1,444 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0050 秒)
Laya3.0_api(470) Laya_社区(444) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(59) laya_api(58)
...线材质。 Hierarchy Material PixelLineMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_TRANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST S...
来源: Laya3.0_api 发布时间: 20231115
...Text; private _upVector3:Laya.Vector3 = new Laya.Vector3(0, 1, 0); constructor(){ Laya.alertGlobalError = true; this._upVector3 = new Laya.Vector3(0, 1, 0); //初始化引擎 Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; ...
来源: Laya_社区 发布时间: 20190605
...t default class AnimatorStateScriptTest extends Laya.AnimatorStateScript { constructor() { super(); this._text = null; } get text() { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行。 */ onStateEnter() { console.log("动画开始播放了"); this._text...
来源: Laya2.0_文档 发布时间: 20210715
...写个简单的例子来看下用法: ```typescript class LayaSample { constructor() { //初始化引擎 Laya.init(1136, 640); var xhr: Laya.HttpRequest = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Laya.Event.COMPLETE, this, this.completeHandler); xhr.once(La...
来源: Laya2.0_文档 发布时间: 20210715
...tateScriptTest extends Laya.AnimatorStateScript { private _text:Laya.Text; constructor() { super(); } get text():Laya.Text { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行。 */ onStateEnter() { console.log("动画开始播放了"); this._text.text = "...
来源: Laya2.0_文档 发布时间: 20210715
...环,默认不循环 * @memberof GifView */ constructor(path: string, cols: number, rows: number, interval?: number, isLoop?: boolean) { super(path, cols, rows); if (interval != void 0) { this.int...
来源: Laya_社区 发布时间: 20201211
...ivate ROBOT_TEXTURE_PATH: string = "../../res/skeleton/robot/texture.png"; constructor() { Laya.init(100, 100); var assets: Array = []; assets.push({ url: this.ROBOT_DATA_PATH, type: Loader.BUFFER }); assets.push({ url: this.ROBOT_TEXTURE_PATH, type: Loader.IMAGE }); Laya.loader.load(assets, Handler...
来源: Laya_示例 发布时间: 20241119
...n"; private ROBOT_TEXTURE_PATH: string = "res/skeleton/robot/texture.png"; constructor() { Laya.init(100, 100); var assets: Array = []; assets.push({ url: this.ROBOT_DATA_PATH, type: Loader.BUFFER }); assets.push({ url: this.ROBOT_TEXTURE_PATH, type: Loader.IMAGE }); Laya.loader.load(assets, Handler...
来源: Laya2.0_示例 发布时间: 20241119
...种开发语言、LayaAirIDE让项目开发更高效。class Network_XML { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.s...
来源: Laya2.0_示例 发布时间: 20241119
...(var i = 0, n = mAnimationArray.length; i = []; private mFactory: Templet; constructor() { this.mSpacingX = Browser.width / this.colCount; this.mSpacingY = Browser.height / this.rowCount; Laya.init(Browser.width, Browser.height, WebGL); Stat.show(); this.mTexturePath = "../../res/skeleton/" + this.f...
来源: Laya_示例 发布时间: 20241119