大约有 7 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0022 秒)
...r Handler = Laya.Handler; var WebGL = Laya.WebGL; var SPACING = 150; var X_OFFSET = 200; var Y_OFFSET = 200; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scale...
来源: Laya_示例 发布时间: 20241119
...MOUNT = 3; var HORIZONTAL_SPACING = 200; var VERTICAL_SPACING = 100; var X_OFFSET = 100; var Y_OFFSET = 50; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleM...
来源: Laya_示例 发布时间: 20241119
...GL; var SPACING = 100; var INPUT_WIDTH = 300; var INPUT_HEIGHT = 50; var Y_OFFSET = 50; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SH...
来源: Laya_示例 发布时间: 20241119
...aya.stage.addChild(label); var _position = new Laya.Vector3(0, 0, 0); var _offset = new Laya.Vector3(0, 0.25, 0); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { if (_outHitInfo.distance !== -1) { var sphere = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh(0.25, 16, 1...
来源: Laya_示例 发布时间: 20241119
...ge.bgColor = "#232628"; setup(); })(); function setup() { var w = 400; var offset = Laya.stage.width - w >> 1; var endY = Laya.stage.height / 2 - 50; var demoString = "LayaBox"; for (var i = 0, len = demoString.length; i > 1; var endY: number = Laya.stage.height / 2 - 50; var demoString: string = "L...
来源: Laya_示例 发布时间: 20241119
...,0)); map.addOverlay(marker); var label = new BMap.Label("当前位置", { offset: new BMap.Size(-15, 30) }); marker.setLabel(label); } function createInfoText() { infoText = new Text(); Laya.stage.addChild(infoText); infoText.fontSize = 50; infoText.color = "#FFFFFF"; infoText.size(Laya.stage.width...
来源: Laya_示例 发布时间: 20241119
...l.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.Vector3(); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { if (_outHitInfo.distance !== -1) { La...
来源: Laya_示例 发布时间: 20241119