大约有 1,073 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0051 秒)
Laya_社区(567) Laya3.0_api(207) Laya2.0_文档(82) Laya_示例(59) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41) Laya3.0_文档(27)
...esText.pos(0, compassImg.y + 400); degreesText.fontSize = 100; degreesText.color = "#FFFFFF"; } // 方位指示器指向当前所朝方位。 function createDirectionIndicator() { directionIndicator = new Sprite(); Laya.stage.addChild(directionIndicator); directionIndicator.alpha = 0.8; directionInd...
来源: Laya_示例 发布时间: 20241118
...sticDistance = 200; var arr:Array=[]; news.innerHTML='<span style="color:#75AC78;font-size:20px;">'+"fgdfdfgdfgdfgdf"+'</span>'; for (var i:int = 0; i < chatListData.length; i++){ var obj:Object={ day:{text:chatListData[i].day}, time:{text:chatListData[i].time}, ne...
来源: Laya_社区 发布时间: 20180319
...rited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/ColorGradEffect" ColorGradEffect Class ColorGradEffect ColorGradEffect 类用于创建调色Effect Hierarchy PostProcessEffect ColorGradEffect Index Constructors constructor Properties _lutTex SHADERDEFINE_ACES SHADERDEFINE_C...
来源: Laya3.0_api 发布时间: 20231115
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(compassImgPath, Handler.create(this, this.init)); } init() { const Gyroscope = Laya.Gyroscope, Event = Laya.Event; // 创建罗盘 this.createCompass(); // 创建方位指示器 this.create...
来源: Laya2.0_示例 发布时间: 20241118
...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); //灯光开启阴影 directionLight.shadow = true; //可见阴影距离 directionLight.shadowDistance = 3; //生成阴影贴图尺寸 directionLight.shadowResolution = 2048; //生成阴影...
来源: Laya_示例 发布时间: 20241118
...tor() { super(); this.setShaderName("CustomCurveShader"); this.enableVertexColor = false; this.albedoColor = new Laya.Vector4(0.0, 0.0, 0.0, 0.0); this.xoffset = 15.0; this.yoffset = -15.0; this.zdistance = 200.0; } public static initShader() { var attributeMap: object = { "a_Position": Laya.VertexM...
来源: Laya_社区 发布时间: 20201009
... Laya.init(800,400); var txt=new Laya.Text(); txt.text="Hello World"; txt.color = "#ffffff"; Laya.stage.addChild(txt); 就这么两行啊 附件 : --> 2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya...
来源: Laya_社区 发布时间: 20181025
...0; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media (max-width: 767px) { #laya_content { overflow: auto; margin: 0px auto 0 auto; padding: 0; } ...
来源: Laya3.0_api 发布时间: 20230115
...0; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media (max-width: 767px) { #laya_content { overflow: auto; margin: 0px auto 0 auto; padding: 0; } ...
来源: Laya3.0_api 发布时间: 20230115
...0; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media (max-width: 767px) { #laya_content { overflow: auto; margin: 0px auto 0 auto; padding: 0; } ...
来源: Laya3.0_api 发布时间: 20230115