大约有 1,382 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0066 秒)
Laya_社区(851) Laya2.0_文档(129) Laya3.0_api(105) Laya_示例(75) Laya2.0_api(66) laya_api(61) Laya2.0_示例(51) Laya3.0_文档(44)
...ene/Arena/Arena.ls")); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 0)); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(CameraMoveScript); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load...
来源: Laya_示例 发布时间: 20241125
...inputText.multiline = true; inputText.wordWrap = true; inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height >> 1; inputText.padding = [2, 2, 2, 2]; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fon...
来源: Laya_示例 发布时间: 20241125
...ined in laya/d3/core/render/PostEffect/ColorGradEffect.ts:426 temperature -100-100 Returns number Defined in laya/d3/core/render/PostEffect/ColorGradEffect.ts:430 temperature -100-100 Parameters value: number Returns void tint get tint(): number set tint(value: number): void Defined in laya/d3/core/...
来源: Laya3.0_api 发布时间: 20231115
...eesText); degreesText.align = "center"; degreesText.size(Laya.stage.width, 100); degreesText.pos(0, compassImg.y + 400); degreesText.fontSize = 100; degreesText.color = "#FFFFFF"; } onOrientationChange(absolute, info) { const Browser = Laya.Browser; if (info.alpha === null) { alert("当前设备不...
来源: Laya2.0_示例 发布时间: 20241125
...L_AMOUNT = 2, ROW_AMOUNT = 3, HORIZONTAL_SPACING = 200, VERTICAL_SPACING = 100, X_OFFSET = 100, Y_OFFSET = 50, skins; class UI_CheckBox { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换...
来源: Laya2.0_示例 发布时间: 20241125
...; var ROW_AMOUNT = 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.s...
来源: Laya_示例 发布时间: 20241125
...aya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var colAmount = 100; var extraSpace = 50; var moveSpeed = 2; var rotateSpeed = 2; var characterGroup; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgColor = "#232628"; St...
来源: Laya_示例 发布时间: 20241125
...ild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; va...
来源: Laya_示例 发布时间: 20241125
...inputText.multiline = true; inputText.wordWrap = true; inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height >> 1; inputText.padding = [2,2,2,2]; // 移动端输入提示符 inputText.prompt = "Type some word..."; // 设...
来源: Laya2.0_示例 发布时间: 20241125
...eateQuad没定义 就写了这样一句——Laya.PrimitiveMesh.createQuad(100, 100); 就说createQuad没定义,这是什么情况啊? 附件 : --> 2019-03-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...
来源: Laya_社区 发布时间: 20190318