大约有 1,447 项符合查询结果, 库内数据总量为 30,943 项。 (搜索耗时: 0.0058 秒)
Laya3.0_api(470) Laya_社区(445) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(61) laya_api(58)
...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
...宽度 * @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
... 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
...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
... //给自己注册的字体起个名 private fontName: string = "diyFont"; constructor() {super();} onAwake(): void { //加载位位图字体 this.loadBitmapFont(); } /** * 实例化位图字体类,并加载位图字体 */ loadBitmapFont(): void { let bitmapFont: Laya.BitmapFont = new Laya.BitmapF...
来源: Laya2.0_文档 发布时间: 20210715
...放经过工具处理后的 swf 动画。 Hierarchy Sprite MovieClip Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize basePath hitTestPrior interval loop mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alp...
来源: Laya3.0_api 发布时间: 20231115
...以扩展一下 第一步 修改此类: class HTMLHitRect { constructor() { this.rec = new Laya.Rectangle(); this.isMouseOver = false; this.reset(); } reset() { this.rec.reset(); ...
来源: Laya_社区 发布时间: 20200724
...rty } = Laya; @regClass() export class UI_HScrollBar extends Laya.Script { constructor() { super(); } // 文本组件,用于显示滚动条的value值 public text: Laya.Text; // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //...
来源: Laya3.0_文档 发布时间: 20240910
...rty } = Laya; @regClass() export class UI_VScrollBar extends Laya.Script { constructor() { super(); } // 文本组件,用于显示滚动条的value值 public text: Laya.Text; // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //...
来源: Laya3.0_文档 发布时间: 20240910