• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,204 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)

991. 【分享】Laya As3 Tween类的loop实现和3d简单缓动实现 [ 50%]

...Type_Loop:String = "loop"; 2 增加简单3d缓动: Position,Scale,Rotation,Color   demo如下:   具体实现方式和demo源码放到github。有需要的同学可以看看。github入口 附件 : --> 2018-09-05 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

来源: Laya_社区 发布时间: 20180905

992. 有关Laya3D碰撞检测疑问 [ 50%]

...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

993. 场景渲染配置(ActionScript-3D基础(AS3)-LayaAir3D之场景渲染配置) [ 50%]

...下的Shader。 **(2) Environment Lighting**环境光照 ​ 支持使用Color,AmbientMode--Realtime(实时)光照。 **(3) Environment Reflections**环境反射 ​ 支持使用Custom自定义环境反射。 **(4) Lightmapping Setting**光照贴图设置 ​ 全部支持,但是不包含Dire...

来源: Laya2.0_文档 发布时间: 20210714

994. 请问使用HTMLDivElement,<span>标签如何支持style = "visibility:hidden"? [ 50%]

...           Laya.stage.scaleMode = "showall";         Laya.stage.bgColor = "#232628";           setup();     })();       function setup()     {         createParagraph(); // 代码创建         showExternalHTML(); // 使用外部定义的html     }       function cr...

来源: Laya_社区 发布时间: 20170315

995. 苹果笔记本下Safari中显示一半 [ 50%]

... 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);"&gt;&lt;/canvas&gt; 其他电脑上: &lt;canvas id="layaCanvas" width="760" height="650" style="position: absolute; left: ...

来源: Laya_社区 发布时间: 20190401

996. [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 [ 50%]

...法 像这样 给一个 返回值,就重现bug 崩溃了.. +(NSString *)bgColor:(NSString*)color {          NSString *str = @"hahahahahaha";     NSDictionary *dict = @ {         @"code" : @(1),         @"msg": @"获取成功",         @"data": @ {             @"level": @(0.9...

来源: Laya_社区 发布时间: 20201209

997. 请问layaair2.0-js 怎么用程序在list中添加多元素的item [ 50%]

...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

998. 启动页设置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...(Enable): 勾选此项以启用启动页功能。 背景颜色 (Background Color): 点击色块选择启动页的背景颜色。 图片 (Image): 设置启动页显示的图片资源路径(例如:bin/splash.png)。点击文件夹图标可浏览选择文件。 适配 (Fit Mode): 选择图片的...

来源: Laya3.0_文档 发布时间: 20251128

999. 加载不了模型 [ 50%]

....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

1000. IDE创建3D示例项目(ActionScript-3D基础(AS3)-快速开始一个LayaAir3D项目) [ 50%]

...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