大约有 284 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0035 秒)
Laya_社区(139) Laya_示例(59) Laya2.0_示例(53) Laya2.0_文档(25) Laya3.0_文档(4) Laya3.0_api(2) laya_api(1) Laya2.0_api(1)
...aya.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.transform.translate(new Laya.Vector3(0, 0.5, 1.5)); camera.transform.rotate(new Laya.Vector3(...
来源: Laya_示例 发布时间: 20241123
...laya.ui.Button; import laya.utils.Handler; import laya.utils.Stat; import ui.TaskUI; import view.TestView; public class LayaUISample { private var btn1:Button; private var btn2:Button...
来源: Laya_社区 发布时间: 20180425
...aya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; ...
来源: Laya2.0_示例 发布时间: 20241123
... = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var sp; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.al...
来源: Laya_社区 发布时间: 20200229
...() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCAL...
来源: Laya2.0_示例 发布时间: 20241123
...帧很严重(不考虑webgl) var Browser = laya.utils.Browser; var Stat = laya.utils.Stat; var Event = laya.events.Event; var Sprite = laya.display.Sprite; Laya.init(800, 1030); Stat.show(0,0); var drawLayer = new Sprite(); Laya.stage.addChild(drawLayer); drawLayer.width = 800; draw...
来源: Laya_社区 发布时间: 20160725
...aya.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.transform.translate(new Laya.Vector3(0, 1.3, 1.8)); camera.transform.rotate(new Laya.Vector3(...
来源: Laya_示例 发布时间: 20241123
...() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCAL...
来源: Laya2.0_示例 发布时间: 20241123
...aya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()); var camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.V...
来源: Laya_示例 发布时间: 20241123
...1, 1); var earth = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticModel/earth/EarthPlanet.lh")); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox3/skyCube.ltc"); vrCamera.sky = skyBox; var rotation = new Laya.Vector3(0, 0.0...
来源: Laya_示例 发布时间: 20241123