大约有 359 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0077 秒)
...a; protected scene: Laya.Scene3D = new Laya.Scene3D; speed: number = 0.01; constructor() { super(); } /** * @private */ protected _updateRotation(): void { if (Math.abs(this.yawPitchRoll.y) < 1.50) { Laya.Quaternion.createFromYawPitchRoll(this.yawPitchRoll.x, this.yawPitchRoll.y, this.yawPitchRol...
来源: Laya3.0_文档 发布时间: 20241014
...VBox VBox 是一个垂直布局容器类。 Hierarchy LayoutBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior isSortItem mouseThrough name tag CENTER LEFT NONE RIGHT drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHi...
来源: Laya3.0_api 发布时间: 20231115
...HBox HBox 是一个水平布局容器类。 Hierarchy LayoutBox HBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy ali...
来源: Laya3.0_api 发布时间: 20231115
...OFFSET: number = 200; private Y_OFFSET: number = 80; private skins: any[]; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.skins = ["resources/res/ui/radioButton (1).png", "resources/res/ui/radio...
来源: Laya3.0_文档 发布时间: 20241014
...ss TipManager 鼠标提示管理类 Hierarchy UIComponent TipManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx offsetX offsetY tipBackColor tipDelay tipTextColor Accessors _isHeightSet _isWidthSet ...
来源: Laya3.0_api 发布时间: 20231115
...imationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniM...
来源: Laya3.0_api 发布时间: 20231115
... Box = laya.ui.Box; import Label = laya.ui.Label; class Item extends Box { constructor() { this.graphics.drawRect(0, 0, 100, 20, null, "#ff0000"); var label: Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); this.addChild(label);...
来源: Laya3.0_api 发布时间: 20231115
...方式显示开放域数据 Hierarchy UIComponent WXOpenDataViewer Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX ce...
来源: Laya3.0_api 发布时间: 20231102
....utils.Handler; class HScrollBar_Example { private hScrollBar: HScrollBar; constructor() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscrol...
来源: Laya3.0_api 发布时间: 20231115
....utils.Handler; class VScrollBar_Example { private vScrollBar: VScrollBar; constructor() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "res...
来源: Laya3.0_api 发布时间: 20231115