大约有 142 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0034 秒)
Laya_示例(52) Laya2.0_示例(35) Laya_社区(26) Laya2.0_文档(14) Laya3.0_api(7) Laya3.0_文档(3) Laya2.0_api(3) laya_api(2)
...调用第一个的一个方法,走进了第二方法里 2.0 drawTexture color参数无效 怎样获取浏览器地址传过来的GET参数 IDE中js压缩工具,能不能用类似命令行,或者编译参数等等方式调用? 初次加载场景正确,返回后只加载第一个场景 对...
来源: Laya_社区 发布时间: 20180425
...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/A...
来源: Laya_示例 发布时间: 20241124
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(skin, Handler.create(this, onLoadComplete)); })(); function onLoadComplete() { var ta = new TextArea(""); ta.skin = skin; ta.font = "Arial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3...
来源: Laya_示例 发布时间: 20241124
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(skin, Handler.create(this, this.onLoadComplete)); } onLoadComplete() { const TextArea = Laya.TextArea; let ta = new TextArea(""); ta.skin = skin; ta.font = "Arial"; ta.fontSize...
来源: Laya2.0_示例 发布时间: 20241124
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.init(); } init() { const Sprite = Laya.Sprite, Animation = Laya.Animation, Text = Laya.Text, Event = Laya.Event; // 创建背景 this.spBg = Sprite.fromImage(PathBg); Laya.stage.addChild(t...
来源: Laya2.0_示例 发布时间: 20241124
...ite = Laya.Sprite; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var colors = ["#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; var colorCount = 0; var isDown = false; var path = []; var color = colors[0]; var liveGraphics; var canvasGraphics; (function() { Laya.init(Browser.width, Brow...
来源: Laya_示例 发布时间: 20241124
...、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。let colors = ["#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"], colorCount = 0, isDown = false, path = [], color = colors[0], liveGraphics, canvasGraphics; class PIXI_Example_21 { constructor() { const Browser = Laya.Browse...
来源: Laya2.0_示例 发布时间: 20241124
...ra.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var 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 plane = sc...
来源: Laya_示例 发布时间: 20241124
...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_示例 发布时间: 20241124
...ra.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var 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 plane = sc...
来源: Laya_示例 发布时间: 20241124