大约有 2,840 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0068 秒)
Laya_社区(2295) Laya2.0_示例(116) Laya_示例(97) Laya3.0_api(93) Laya2.0_api(79) laya_api(68) Laya2.0_文档(68) Laya3.0_文档(24)
...init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.trans...
来源: Laya_示例 发布时间: 20251209
...r.resume() //恢复onUpdate Laya.timer.resume(); //恢复时间 Laya.timer.scale = 1; }) window['wx'].onHide(() => { this.event(AppEvent.onHide); this.appStatus = AppEvent.onHide; console.log(this.appStatus, '---------'); Laya.stage.renderingEnabled = false//停止渲染 Laya.updateTimer.pause() ...
来源: Laya_社区 发布时间: 20200917
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { var vGap = 100; button1 = createButton("点我3秒之后 alpha - 0.5"); button1.x = (Laya.stage.width - button1.width) / 2; bu...
来源: Laya_示例 发布时间: 20251209
...mp add distance distanceSquared dot equals lerp max min multiply normalize scale subtract transformByM4x4 Constructors constructor new ConchVector4(x?: number, y?: number, z?: number, w?: number): ConchVector4 Defined in laya/d3/math/Native/ConchVector4.ts:93 创建一个 Vector4 实例。 Parameter...
来源: Laya3.0_api 发布时间: 20231102
...也是鸟 • 2018-05-23 17:21 @Laya_Aaron:现在比较常用的是Stage.SCALE_SHOWALL 就是有一边会留黑边。市面上的H5游戏大都这样做。但是我的需求是像APP一样做全屏适配,舞台宽度固定,高度自适应。子对像根据舞台高度做相对布局,有没有...
来源: Laya_社区 发布时间: 20180523
...件。可以调整摄像机的**Position**位置,**Rotation**选择和**Scale**缩放。 Background背景,在没有天空盒的情况下,将选中的颜色应用到剩余屏幕。 Culling Mask 剔除遮罩,包含或者忽略对象的Layer。 Projection 投射。Perspective 透视投影,Ort...
来源: Laya2.0_文档 发布时间: 20210715
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load([buttonSkin, clipSkin, bgSkin], laya.utils.Handler.create(this, onSkinLoaded)); })(); function onSkinLoaded() { showBg(); createTimerAnimation(...
来源: Laya_示例 发布时间: 20251209
...nGuide1(image:Image):void { image.x = 0; image.y = 0; image.scale(1,1); Tween.to(image,{scaleX:0.5,scaleY:0.5},600,null,new Handler(this,tweenGuide,[image]),500); } public function tweenGuide1(image:Image):void { Tween.to(image,{x:100,y:100},600,null,new Handler(this,tw...
来源: Laya_社区 发布时间: 20161216
... TiledMap renderOrder : String[read-only] tile渲染顺序 TiledMap scale : Number 得到当前地图的缩放 TiledMap showGridTextureCount : Boolean = false 是否显示大格子里显示的贴图数量 TiledMap tileHeight : int[read-only] 格子的高度 TiledMap tileWidth : int[re...
来源: laya_api 发布时间: 20170929
... TiledMap renderOrder : String[read-only] tile渲染顺序 TiledMap scale : Number 得到当前地图的缩放 TiledMap showGridTextureCount : Boolean = false 是否显示大格子里显示的贴图数量 TiledMap tileHeight : int[read-only] 格子的高度 TiledMap tileWidth : int[re...
来源: Laya2.0_api 发布时间: 20190513