大约有 174 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0056 秒)
Laya_社区(105) Laya_示例(45) Laya2.0_文档(16) Laya2.0_示例(3) Laya3.0_文档(2) laya_api(1) Laya3.0_api(1) Laya2.0_api(1)
...; public function ComponentDemo() { Laya.init(1334,750, WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("./res/atlas/ui.atlas", Handler.create(this, onLoaded)); } private function onLoaded():void { //创建...
来源: Laya2.0_文档 发布时间: 20210715
...it(); //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //开启统计信息 // Laya.Stat.show(); //添加3D场景 this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; //添加照相机...
来源: Laya_社区 发布时间: 20180307
...请查看附件): Main.tsLaya.init(750, 1334, Laya.WebGL); Laya.stage.scaleMode = "showall"; Laya.stage.screenMode = "none"; Laya.stage.alignH = "center"; Laya.stage.alignV = "middle"; const spine: Laya.Skeleton = new Laya.Skeleton(); spine.pos(100, 400); spine.load('res/spine/princess1.sk', new...
来源: Laya_社区 发布时间: 20181120
...uctor() { super(); Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.newScene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; //初...
来源: Laya_社区 发布时间: 20210103
...= new Laya.Vector3(0, 1, 0); Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //var resource = [{url: "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", type: Laya3D.HIERARCHY,...
来源: Laya_社区 发布时间: 20190531
...始化引擎 Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //预加载所有资源 var resource = [{url: "Box/LayaScene_JJF/Conv...
来源: Laya_社区 发布时间: 20190605
...ate label: Laya.Label; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this._outHitAllInfo = new Array<Laya.Ray...
来源: Laya_社区 发布时间: 20180820
...it(); //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); console.log("debuginfo LayaAir3D constructer start loadres url:", this._sceneURl); Laya.loade...
来源: Laya_社区 发布时间: 20180317
... mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleMode scaleX scaleY scene screenMode scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent a...
来源: Laya3.0_api 发布时间: 20231115
...始化引擎 Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; this.upVector3 = new Laya.Vector3(0, 1, 0); //预加载所有资源 let resour...
来源: Laya_社区 发布时间: 20190531