大约有 2,594 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)
Laya_社区(2141) Laya3.0_api(88) Laya2.0_api(73) Laya_示例(72) Laya2.0_示例(70) laya_api(64) Laya2.0_文档(63) Laya3.0_文档(23)
...) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. matter中layasprite怎么改变图片大小? Texture图片能否进行翻转? ios14系统下 blendMode='...
来源: Laya_社区 发布时间: 20180613
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; //实例一个背景 var bg:Image = new Image(); bg.skin = "res/ui/bg.jpg"; Laya.stage.addChild(bg); //实例一个文本 var txt:Text = new Te...
来源: Laya_社区 发布时间: 20170228
...nsole.log(Laya) Laya.MiniAdpter.init() Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); if(false) { eval(23) } console.log(wx.request) //初始化照相机 var camera = scene.addC...
来源: Laya_社区 发布时间: 20180104
... class GameMain { constructor() { Laya.init(500, 1000, WebGL); Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; var resPath = ['res/atlas/comp.atlas']; Laya.loader.load(resPath, new Laya.Handler(this, function () { var textUi = new TextUI(); Laya.stage.addChild(textUi); }), null, Laya.Loader.ATL...
来源: Laya_社区 发布时间: 20180810
...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect showProgress sizeGrid skewX skewY ski...
来源: Laya3.0_api 发布时间: 20231115
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.showApe(); } showApe() { const monkey1Path = "./res/apes/monkey1.png", monkey2Path = "./res/apes/monkey2.png"; // 方法1:使用loadImage let ape = new L...
来源: Laya2.0_示例 发布时间: 20260303
...isplayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect selectedIndex selection setIndexHandler...
来源: Laya3.0_api 发布时间: 20231115
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(this.skin, Handler.create(this, this.onLoadComplete)); } private onLoadComplete(): void { var cb: ComboBox = this.createComboBox(this.skin); cb...
来源: Laya2.0_文档 发布时间: 20210715
...的全局旋转值(会叠加父亲节点的旋转值)。 Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获得相对于stage的全局Y轴缩放值(会叠加父亲节点的缩...
来源: Laya2.0_api 发布时间: 20190513
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.showApe(); } showApe() { const Sprite = Laya.Sprite; const layoutRadius = 150, radianUnit = Math.PI / 2; // 该容器用于装载4张猩猩图片 this.apes...
来源: Laya2.0_示例 发布时间: 20260303