大约有 511 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0063 秒)
Laya_社区(277) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(30) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
...riable: Test p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #aef37d; background-color: #1f1f24} span.s1 {color: #ffffff} span.s2 {color: #91d462} span.s3 {color: #fc6a5d} 2019-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20190313
...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 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...
来源: Laya_示例 发布时间: 20250221
... 代码如下 htmlDiv.width = 300; htmlDiv.height = 100; htmlDiv.style.color = color; htmlDiv.style.leading = leading; htmlDiv.style.align = "center"; htmlDiv.innerHTML = "确定要退出副本吗?"; 附件 : --> 2019-02-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20190227
...treeItem", "width": "150", "left": "33", "height": "22", "name": "label", "color": "#ffff00", "right": "0", "x": "33"}}, {"type": "Clip", "props": {"x": "0", "name": "arrow", "y": "5", "skin": "ui/clip_tree_arrow.png", "clipY": "2"}}], "type": "Box", "props": {"name": "render", "right": "0", "left":...
来源: Laya_示例 发布时间: 20250221
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); let res = [ "res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png", "res/ui/tree/clip_selectBox.png", "res/ui/tree/clip_tree_folder.png", "res/ui/tre...
来源: Laya2.0_示例 发布时间: 20250221
...s, this.onMousewheel); } this.createText = function (_content, _fontSize, _color, _width, _autoSize, _wordWrap, _ID) { var txt = new Text(); txt.text = _content; txt.cacheAs = 'bitmap'; txt.fontSize = _fontSize; txt.bold = true; txt.font = 'wordFont'; txt.color = _color; txt.strokeColor = '#000000';...
来源: Laya_社区 发布时间: 20161118
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.demonstrate(); } demonstrate() { for (let i = 0; i < 10; i++) { Laya.timer.callLater(this, this.onCallLater); } } onCallLater() { const Text = Laya.Text; console.log("onCallLater triggered...
来源: Laya2.0_示例 发布时间: 20250221
...ode = Laya.Stage.SCREEN_NONE; //2.设置舞台背景色为空 Laya.stage.bgColor = "none"; 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)); camera.transform.rotate(new Laya.Vector3(...
来源: Laya_示例 发布时间: 20250221
... = this.spriteLight.getComponent(Laya.SpriteLight2D); spritelightComponent.color = new Laya.Color(1, 1, 1); spritelightComponent.intensity = 0.5; let tex = Laya.loader.getRes("resources/spritelight.png"); spritelightComponent.spriteTexture = tex; } // 配置方向光 setDirectLight(): void { let dir...
来源: Laya3.0_文档 发布时间: 20250214
...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonke...
来源: Laya_示例 发布时间: 20250221