大约有 1,202 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0043 秒)
Laya_社区(629) Laya3.0_api(207) Laya2.0_文档(119) Laya_示例(59) Laya3.0_文档(57) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41)
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createTexts(); })(); function createTexts() { var t1 = createText(); t1.overflow = Text.VISIBLE; t1.pos(10, 10); var t2 = createText(); t2.overflow = Text.SCROLL; t2.pos(10, 110); var t3 = createText(); t3....
来源: Laya2.0_文档 发布时间: 20210714
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; // 本地运行,需要在index.html中引用百度地图API文件 this.createDom(); this.initMap(); this.createInfoText(); let successHandler = new Handler(this, this.updatePosition); let errorHandler = n...
来源: Laya2.0_示例 发布时间: 20251219
...语言服务(2.1.5)。可能出现不一致的编译错误 2.0 drawTexture color参数无效 unity动画事件demo有没有另外的实现方式 怎样获取浏览器地址传过来的GET参数 为什么给Sprite容器添加点击事件没反应 问题状态 最新活动: 2023-10-12 15:33 浏览: 29...
来源: Laya_社区 发布时间: 20231012
...,这种材质常用特效制作。 #### 主要属性与方法 > 属性 `color:Vector4` 颜色。 `renderMode:int` [write-only] 设置渲染模式。 `texture:BaseTexture` 贴图。 `tilingOffset:Vector4` 纹理平铺和偏移。 #### 创建和使用Effect材质 下面代码来自官方示例([demo...
来源: Laya2.0_文档 发布时间: 20210714
...2.6) 关于同为object层,层级设置无效的问题 2.0 drawTexture color参数无效 lh文件内meshSprite添加阴影属性无效 matter.js mouseconstraint在微信小游戏中无效 LayaAir 3D 有提供 3D 物理引擎功能吗? (此问题已经无效) LayaAir3D UnityPlug 1.7.13 导...
来源: Laya_社区 发布时间: 20181206
...e.addChild(new Laya.PointLight()); //设置点光源颜色 this.pointLight.color = new Laya.Vector3(1.0, 0.5, 0.0); //设置点光源位置 this.pointLight.transform.position = new Laya.Vector3(0.4, 0.4, 0.0); //设置点光源的范围 this.pointLight.range = 3.0; ``` **range** 为设置点光源...
来源: Laya2.0_文档 发布时间: 20210714
...事件 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 2.0 drawTexture color参数无效 关于同为object层,层级设置无效的问题 在List渲染的时候,在滚动一个list的时候,如何实现另一个list也跟着滚动,并且两个list同时滚动一模一样。 (此问题...
来源: Laya_社区 发布时间: 20170526
..."Hello Layabox"; //设置文本颜色为白色,默认颜色为黑色 txt.color = '#ffffff'; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } } ``` **步骤五**: 完成代码编写后,使用之前文章里配置的编译器,点击按钮开始编译,编译完成后会自动启...
来源: Laya2.0_文档 发布时间: 20210715
...c const BLUR:int = 0x10; /**@private 颜色滤镜。*/ public static const COLOR:int = 0x20; /**@private 发光滤镜。*/ public static const GLOW:int = 0x08; public static const NAMES:Array = /*[STATIC SAFE]*/["normal", "add", "multiply", "screen","overlay","light","mask","destination-out"]; publi...
来源: Laya_社区 发布时间: 20170303
...style.fontFamily = 'Arial'; scoreHtml.style.fontSize = 30; scoreHtml.style.color = '#3CFFBE'; scoreHtml.style.lineHeight = 30; scoreHtml.style.background = '#011f15'; scoreHtml.style.fontStyle = 'italic'; scoreHtml.style.align = 'right'; 2017-01-22 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170122