大约有 1,655 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
Laya_社区(676) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(71) Laya_示例(58) Laya2.0_示例(54)
... input.y = i * this.SPACING + this.Y_OFFSET; } } private createInput(skin: string): Laya.TextInput { var ti: Laya.TextInput = new Laya.TextInput(); ti.skin = skin; ti.size(300, 50); ti.sizeGrid = "0,40,0,40"; ti.font = "Arial"; ti.fontSize = 30; ti.bold = true; ti.color = "#606368"; this.owner.addCh...
来源: Laya3.0_文档 发布时间: 20251010
...显示这个img。我们新建个项目。代码如下所示: var data: string = "data:image/svg+xml," + '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' + '<foreignObject width="100%" height="100%">' + '<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:4...
来源: Laya3.0_文档 发布时间: 20251010
...销毁。这些残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResour...
来源: Laya2.0_文档 发布时间: 20210715
...ay<any>, coverBefore?: boolean): void; /** 返回统计信息。*/ toString(): string; /** * 清理定时器。 * @param caller 执行域(this)。 * @param method 定时器回调函数。 */ clear(caller: any, method: Function): void; /** * 清理对象身上的所有定时器。 * @param call...
来源: Laya_社区 发布时间: 20171109
...销毁。这些残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResour...
来源: Laya2.0_文档 发布时间: 20210715
...("skyBox/skyCube.ltc"); camera.sky = sky; } private _sprite3dURl:string = "LayaScene_ActionCheck/ActionCheck.lh"; wky379937316 • 2018-03-19 21:08 这是什么情况呢?是引擎不支持场景吗?如果能解决,请给一个解决方案,谢谢 涛涛~ • 2019-07-06 16:...
来源: Laya_社区 发布时间: 20180317
... + this.X_OFFSET; rg.y = this.Y_OFFSET; } } private createRadioGroup(skin: string): Laya.RadioGroup { let 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...
来源: Laya3.0_文档 发布时间: 20251016
...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 selfAnchor selfAnchor: any[] = [0, 0] Defined in laya/physics/joint/PulleyJoint.ts:18 [首次设置有效]自身刚体链接点,是相对...
来源: Laya3.0_api 发布时间: 20231115
....HEI); this.img = new Laya.Image(); this.addChild(this.img); } setImg(src: string): void { this.img.skin = src; } } 运行效果: (图2-1) List的其他属性也可以通过代码来设置,有兴趣的读者可以自己通过代码设置List,创建出符合自己需要的列表。 Copyrigh...
来源: Laya3.0_文档 发布时间: 20251010
...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 selfBody selfBody: RigidBody Defined in laya/physics/joint/WeldJoint.ts:14 [首次设置有效]关节的自身刚体 Accessors awaked get a...
来源: Laya3.0_api 发布时间: 20231115