大约有 1,102 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0078 秒)
Laya_社区(444) Laya3.0_api(292) Laya_示例(112) Laya2.0_示例(80) Laya2.0_文档(61) Laya3.0_文档(51) Laya2.0_api(35) laya_api(27)
...cle2D Particle2D 类是2D粒子播放类 Hierarchy Sprite Particle2D Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anc...
来源: Laya3.0_api 发布时间: 20231115
...播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPl...
来源: Laya3.0_api 发布时间: 20231115
... Particle2D PhysicsDebugDraw SpineSkeleton UIComponent DialogManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blen...
来源: Laya3.0_api 发布时间: 20231115
...vate skin1:string = "checkbox.png"; private skin2:string = "checkbox.png"; constructor() { //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(600,400,Laya.WebGL); //设置舞台背景颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.lo...
来源: Laya2.0_文档 发布时间: 20210715
...不会遇到这样问题。 然后再在 Main.ts 里面 class main 的 constructor 函数内末尾 加几句不痛不痒的如下的内容,再导出微信小游戏,就会报上面的错 if (Laya.Browser.onWeiXin) { //微信内 ...
来源: Laya_社区 发布时间: 20190319
...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 = Stage.SCALE_NOSCALE; ...
来源: Laya_社区 发布时间: 20211013
... private newScene: Laya.Scene3D; private arr: any; constructor() { super(); this.arr = []; this.newScene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; //初始化照相机 va...
来源: Laya_社区 发布时间: 20201120
...行: //问题在 addSphere 方法 class PhysicsWorldBaseCollider{ constructor(){ //初始化引擎 Laya3D.init(0, 0); //设置画布模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;...
来源: Laya_社区 发布时间: 20191009
...宽度 * @param align 水平排列方式 * @param padding 间距 */ public constructor(resFix: string, width: number, align: string = "left",padding: number=0) { super(); this.width = width; this.resFix = resFix; this._align = align; this._padding = padding; } /** * 字间距 */ public set padding(v...
来源: Laya_社区 发布时间: 20180302
...r属性,可以更改弹出的层次 Hierarchy Sprite DialogManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize closeEffectHandler hitTestPrior lockLayer maskLayer mouseThrough name popupEffectHandler tag drawtocanvCtx Accessors _isHeightSet _isWi...
来源: Laya3.0_api 发布时间: 20231115