大约有 1,204 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
Laya_社区(630) Laya3.0_api(207) Laya2.0_文档(119) Laya_示例(59) Laya3.0_文档(58) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41)
...Type_Loop:String = "loop"; 2 增加简单3d缓动: Position,Scale,Rotation,Color demo如下: 具体实现方式和demo源码放到github。有需要的同学可以看看。github入口 附件 : --> 2018-09-05 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180905
...ansform.rotate(new Laya.Vector3(-15, 0, 0), true, false); this.camera.clearColor = null; //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new La...
来源: Laya_社区 发布时间: 20180820
...下的Shader。 **(2) Environment Lighting**环境光照 支持使用Color,AmbientMode--Realtime(实时)光照。 **(3) Environment Reflections**环境反射 支持使用Custom自定义环境反射。 **(4) Lightmapping Setting**光照贴图设置 全部支持,但是不包含Dire...
来源: Laya2.0_文档 发布时间: 20210714
... Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createParagraph(); // 代码创建 showExternalHTML(); // 使用外部定义的html } function cr...
来源: Laya_社区 发布时间: 20170315
... height="650" style="position: absolute; left: 0px; top: 110px; background-color: rgb(255, 237, 118); transform-origin: 0px 0px 0px; transform: matrix(0.5, 0, 0, 0.5, 311, 0);"></canvas> 其他电脑上: <canvas id="layaCanvas" width="760" height="650" style="position: absolute; left: ...
来源: Laya_社区 发布时间: 20190401
...法 像这样 给一个 返回值,就重现bug 崩溃了.. +(NSString *)bgColor:(NSString*)color { NSString *str = @"hahahahahaha"; NSDictionary *dict = @ { @"code" : @(1), @"msg": @"获取成功", @"data": @ { @"level": @(0.9...
来源: Laya_社区 发布时间: 20201209
...kin: “” }, _levelNum: { text: “”, color: "#ffffff" } } 要写上修改的对象名字 2018-11-16 1 0 分享 微博 QZONE 微信 coder 赞同来自: var data = []; data.push("comp/1.png","111"); data.push("comp/2.png","222"); list2.a...
来源: Laya_社区 发布时间: 20181113
...(Enable): 勾选此项以启用启动页功能。 背景颜色 (Background Color): 点击色块选择启动页的背景颜色。 图片 (Image): 设置启动页显示的图片资源路径(例如:bin/splash.png)。点击文件夹图标可浏览选择文件。 适配 (Fit Mode): 选择图片的...
来源: Laya3.0_文档 发布时间: 20251128
....rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = Laya.Vector3(255,255,0.1); camera.addComponent(CameraMoveScript); //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color ...
来源: Laya_社区 发布时间: 20180427
...t = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.color = new Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatrix.setForward(new Vector3(1, -1, 0)); //添加自定义模型 var box:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))) as ...
来源: Laya2.0_文档 发布时间: 20210714