大约有 963 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0069 秒)
Laya_社区(723) Laya3.0_api(89) Laya2.0_api(60) Laya2.0_文档(58) Laya3.0_文档(24) Laya_示例(6) laya_api(2) Laya2.0_示例(1)
...nLight.transform.worldMatrix; mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0)); directionLight.transform.worldMatrix = mat; //材质加载 this.mat1 = new Laya.BlinnPhongMaterial; this.mat2 = new Laya.BlinnPhongMaterial; this....
来源: Laya_社区 发布时间: 20191009
...addChild(pointLight); //点光源的颜色 pointCom.color = new Laya.Color(1.0, 0.5, 0.0, 1); //设置点光源的范围 pointCom.range = 3.0; pointLight.transform.position = new Laya.Vector3(0.0, 1, 0.0); 三、DirectionLight Direction Light(平行光)与点光区别较大,它有固定的一...
来源: Laya3.0_文档 发布时间: 20251010
...同来自: 等2.0引擎用吧,粒子的问题 。 2.0 都统一解决,1.0版本只能尽量避免出现问题的用法。 2018-07-12 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 朱达 相关问题 laya针对页游耗用内存大...
来源: Laya_社区 发布时间: 20180626
... 分享 微博 QZONE 微信 *%〈~〉 赞同来自: 您好,我在laya2.1.0版本也遇到了这个问题,不知道是在那个版本修复了该问题呢? 2019-09-17 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 王朝阳 相关...
来源: Laya_社区 发布时间: 20190318
...12-21 0 0 分享 微博 QZONE 微信 内涵tv何吓吓 赞同来自: 你是1.0还是2.0的,2.0的是自动更新,在onEnable()方法里面,如果是1.0你应该在打开dialog之前更新呐 2018-12-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...
来源: Laya_社区 发布时间: 20181221
...e); if (file.exists() && !file.isDirectory()) { os.println( " HTTP/1.0 200 OK "); // 返回应答消息,并结束应答 os.println( " Content-Type:" + generatecontentType(fileName)); os.println( " Content-Length: " + file.length()); // 返回内容字节数 os.println(); FileInputStream fis ...
来源: Laya_社区 发布时间: 20160104
...-13 0 3 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 2.0的机制和1.0有所不同,这种情况应该是底层无法注册runtime 所以找不到,造成这种情况的用法,一般就是scene里面套scene之类的,ts,和js 是无法这样操作的。。。用代码操作或者用...
来源: Laya_社区 发布时间: 20181126
...ion() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel < channels; channel++) { // This gives us the actual ArrayBuffer that contains the data var nowBuffering = myArrayBuffer.getChannelData(channel); for (var i = 0; i < frameCount; i++) ...
来源: Laya2.0_文档 发布时间: 20210715
# PBRStandardMaterial材质详解 ###### *version :2.1.0beta Update:2019-5-14* 基于物理普通反射材质,硬质表面(也就是建筑材质)而设计的,一般用于做粗糙质感的材质。 ##### 主要属性和方法 > 属性 `albedoColor:Vector4` 漫反射颜色。 `albedoTexture:B...
来源: Laya2.0_文档 发布时间: 20210715
...e(0.25, 20, 20))) as MeshSprite3D; sphere.transform.position = new Vector3(1.0, 0.25, 0.6); //圆柱体 var cylinder:MeshSprite3D = sprite3D.addChild(new MeshSprite3D(PrimitiveMesh.createCylinder(0.25, 1, 20))) as MeshSprite3D; cylinder.transform.position = new Vector3(0, 0.5, 0.6); //胶囊体 var ...
来源: Laya2.0_文档 发布时间: 20210715