大约有 1,125 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0059 秒)
Laya_社区(426) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya3.0_文档(35) Laya_示例(32) Laya2.0_示例(14)
...回复 陆仁毅 赞同来自: 为世界献上奇迹 在core.js包里的,class Input .... 他的 _focusOut方法 加上这行话 2019-10-28 1 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 没有复现 2019-10-22 0 1 分享 微博 QZONE 微信 为世界献上奇迹 赞同来自: 2019-10-...
来源: Laya_社区 发布时间: 20191022
...成的js也有这种情况才构成循环。 例如 A.ts import B from 'B' class A{ b:B; } 这种的,在生成js以后由于B只是表示类型,js是不需要的,所以上面的import就没了。 无法去掉的import主要是类似 new B, extends B, instanceof B, 以及静态成员...
来源: Laya_社区 发布时间: 20190730
...Only exported Menu Globals "laya/d3/core/material/PBRMaterial" PBRMaterial Class PBRMaterial PBR材质的父类,该类为抽象类。 Hierarchy Material PBRMaterial PBRStandardMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid...
来源: Laya3.0_api 发布时间: 20231115
...,所以只好上论坛求助了。 比如这么一个报错的地方: class Component extends laya.ui.Component implements laya.ui.IComponent { _getBoundPointsM(ifRotate?: boolean): Array<any>; disableLayout: boolean; protected resetLayoutX(): void; protected resetLayoutY(): void; } 类lay...
来源: Laya_社区 发布时间: 20181027
... = Laya.Event; var Stat = Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary { constructor() { this.aniPath = "res/powerup-pro.skel"; this.index = -1; // Laya.init(Browser.width, Browser.height, WebGL); // Laya.stage.scaleMode = S...
来源: Laya_社区 发布时间: 20211013
...ld(this.img); this.setImg = function (src) { this.img.skin = src; } } Laya.class(RankListItem, "RankListItem", Laya.Box); //rankList var rankList = new Laya.List(); rankList.itemRender = RankListItem; rankList.repeatX = 1; rankList.repeatY = 4; // 使用但隐藏滚动条 rankList.vScrollBarSkin = "...
来源: Laya_社区 发布时间: 20180416
...建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private arr: any; constructor() { super(); ...
来源: Laya_社区 发布时间: 20201120
...ewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary&...
来源: Laya_社区 发布时间: 20170714
API DocumentationAll Packages | All Classes | Index | Frames No Frames ShuriKenParticle3DProperties | Methods | Events | Constants Packagelaya.d3.core.particleShuriKenClasspublic class ShuriKenParticle3DInheritanceShuriKenParticle3D RenderableSprite3D Sprite3D ComponentNode Node EventDisp...
来源: laya_api 发布时间: 20170929
...示这个img。我们新建个项目。代码如下所示: ```typescript class LayaUISample { constructor() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor = "#ffcccc"; var data: string = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp: Laya.Spri...
来源: Laya2.0_文档 发布时间: 20210715