大约有 302 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0037 秒)
Laya_社区(106) Laya2.0_示例(91) Laya_示例(80) Laya2.0_文档(18) Laya3.0_api(3) laya_api(2) Laya2.0_api(2)
...代码:var WebGL = laya.webgl.WebGL; var Stage = laya.display.Stage; var Browser = laya.utils.Browser; var Sprite = laya.display.Sprite; var TextInput = Laya.TextInput; var Event = laya.events.Event; var Handler = Laya.Handler; var ProgressBar = laya.ui.ProgressBar; var Button = Laya.Button; var Dia...
来源: Laya_社区 发布时间: 20201001
...java.lang.Thread.run(Thread.java:818) #830 GLThread 830 1 layaair.game.browser.ConchJNI.onDrawFrame(Native Method) 2 layaair.game.browser.e.onDrawFrame(Unknown Source) 3 android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1590) 4 android.opengl.GLSurfaceView$GLThread.run(GLSur...
来源: Laya_社区 发布时间: 20191030
...让项目开发更高效。class Loader_SingleType { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.align...
来源: Laya2.0_示例 发布时间: 20241118
...效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var Render = Laya.Render; var stageWidth = 800; var stageHeight = 600; var Matter = Browser.window.Matter; var LayaRender = Browser.window.LayaRender; var mouseConstraint; var en...
来源: Laya_示例 发布时间: 20241118
... Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var sp; var preRadian = 0; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_M...
来源: Laya_示例 发布时间: 20241118
...a.Sprite; import Stage = Laya.Stage; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sprite_DisplayImage { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeigh...
来源: Laya2.0_文档 发布时间: 20210715
...DE让项目开发更高效。class Sprite_Cache { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH ...
来源: Laya2.0_示例 发布时间: 20241118
... var label = new Laya.Label(); label.text = "点击放置"; label.pos(Laya.Browser.clientWidth / 2.5, 100); label.fontSize = 50; label.color = "#40FF40"; Laya.stage.addChild(label); var _offset = new Laya.Vector3(0, 0.25, 0); var _upVector3 = new Laya.Vector3(0, 1, 0); var _vector3 = new Laya.Vector...
来源: Laya_示例 发布时间: 20241118
...高效。(function() { var Stage = Laya.Stage; var Text = Laya.Text; var Browser = Laya.Browser; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scal...
来源: Laya_示例 发布时间: 20241118
... var label = new Laya.Label(); label.text = "点击放置"; label.pos(Laya.Browser.clientWidth / 2.5, 100); label.fontSize = 50; label.color = "#40FF40"; Laya.stage.addChild(label); var _position = new Laya.Vector3(0, 0, 0); var _offset = new Laya.Vector3(0, 0.25, 0); //鼠标事件 Laya.stage.on(La...
来源: Laya_示例 发布时间: 20241118