大约有 618 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0075 秒)
Laya_社区(259) Laya2.0_api(123) laya_api(96) Laya_示例(56) Laya2.0_示例(44) Laya2.0_文档(26) Laya3.0_文档(8) Laya3.0_api(6)
...chorY set_height set_scaleX set_scaleY set_transform set_visible set_width show size skew startDrag stopDrag timerLoop timerOnce toParentPoint updatePos updateZOrder fromImage Constructors constructor new GridSprite(): GridSprite Inherited from Sprite.constructor Overrides Node.constructor Defined i...
来源: Laya3.0_api 发布时间: 20231115
...全屏 Laya.stage.scaleMode = Stage.SCALE_FULL; //显示统计数据 Stat.show(); //给舞台添加laya3d场景 var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; //初始化照相机 var camera:Camera = scene.addChild(new Camera()) as Camera; camera.transform.position = new Vector3(0, 3, ...
来源: Laya_社区 发布时间: 20161223
...化代码//laya初始化 Laya.init(852, 480, Laya.WebGL); //FPS Laya.Stat.show(0,0); //设置适配模式 Laya.stage.scaleMode = "exactfit"; //设置剧中对齐 Laya.stage.alignH = "center"; //设置横屏 Laya.stage.screenMode = "horizontal"; 打开浏览器(哦这里要说一下 因为浏览...
来源: Laya_社区 发布时间: 20160722
...his.contentPane = await gui.UIPackage.createWidget("MyDialog.widget"); } onShown() { } onHide() { } } 在编辑器内,所有对话框都是单例。显示这个对话框的方式为: import { MyDialog } from "./MyDialog"; Editor.showDialog(MyDialog, null); 八、扩展内置菜单 支持对编...
来源: Laya3.0_文档 发布时间: 20241014
...ly] 获得所属场景。 NodePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Node()Node addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... arg...
来源: Laya2.0_api 发布时间: 20190513
...tage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.initShader(); var scene: Laya.Scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/terrain/terrain.ls")) as Laya.Scene; var camera: Laya.Camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)) a...
来源: Laya_示例 发布时间: 20241119
...FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; //显示性能面板 Stat.show(); this.path = []; this.startPoint = new Vector2(); this.endPoint = new Vector2(); for (var i: number = 0; i < 20; ++i) { var newVec: Vector2 = new Vector2(); this.resPath.push(newVec); } //预加载所有资源 var r...
来源: Laya3.0_文档 发布时间: 20230303
...rplaneModeOn = false 08-14 10:57:51.408 5041-5041/? D/STK App: slotId = 0, showMode = ALWAYS_SHOW, install 08-14 10:57:51.408 5041-5041/? W/Settings: Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. 08-14 10:57:5...
来源: Laya_社区 发布时间: 20180814