大约有 1,033 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(759) Laya3.0_api(99) Laya2.0_api(67) Laya2.0_文档(62) Laya3.0_文档(30) Laya_示例(12) laya_api(3) Laya2.0_示例(1)
...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;...
来源: Laya3.0_文档 发布时间: 20251010
...ing vec3 v_normal; varying vec4 v_wpos; void main() { float _NoiseSpeedX = 1.0; float _NoiseSpeedY = 1.0; float _NoiseScaleX = 0.2; float _NoiseScaleY = 0.2; float _SpecularGlossy = 0.16; float _SpecularIntensity = 0.5; float _NoiseBrightOffset = 0.25; vec2 tuv1 = v_textcoord + vec2(u_Time * _NoiseS...
来源: Laya_社区 发布时间: 20190923
...t.color = new Vector3(1, 1, 1); directionLight.direction = new Vector3(0, -1.0, -1.0); 如果还是达不到你想要的效果的话就尝试更改一下你的材质 材质与灯光的详细介绍连接 https://ldc.layabox.com/doc/?nav=zh-as-4-0-7 2018-04-10 0 2 分享 微博 QZONE 微信 xixi39 赞...
来源: Laya_社区 发布时间: 20180410
# PBRStandardMaterial材质详解 ###### *version :2.1.0beta Update:2019-5-14* 基于物理普通反射材质,硬质表面(也就是建筑材质)而设计的,一般用于做粗糙质感的材质。 ##### 主要属性和方法 > 属性 `albedoColor:Vector4` 漫反射颜色。 `albedoTexture:B...
来源: Laya2.0_文档 发布时间: 20210714
...mator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transf...
来源: Laya_示例 发布时间: 20260303
...varying vec3 v_Normal;\n" + "void main(){\n" + "gl_FragColor=vec4(v_Normal,1.0);}\n"; Laya.ShaderCompile3D.add(customShader, vs, ps, attributeMap, uniformMap); } 2018-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20180904
...er).material as Laya.BlinnPhongMaterial).albedoColor = new Laya.Color(0.0, 1.0, 0.0, 1.0);//绿色 } /** * 发生持续物理碰撞时的3D物理碰撞器事件(不适用2D),也就是碰撞生命周期内的第二次碰撞到碰撞结束前,每帧都在触发调用的事件方法。 * 尽量...
来源: Laya3.0_文档 发布时间: 20251010
...属Node节点。 Component speed : Number 获取动画的播放速度,1.0为正常播放速度。 AnimatorPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Animator() 创建一个 Animation 实例。 Animator _onAdded():void[override] Animator _...
来源: Laya2.0_api 发布时间: 20190513
...包体的大小是开发者最关心的问题。保留这个仅仅是为了1.0的老用户或者一些特别的需求。 我们默认的推荐的是文件模式,就是因为文件模式是把所有的场景文件全都变成了json,不会产生ui数据代码,最大化的减少js包体大小...
来源: Laya_社区 发布时间: 20210403
...单个纹理对象 //接口 addTexture(texture: Texture, scale: number = 1.0, largeTextureIndex: number = -1): boolean 参数说明: texture: 要添加的 Texture 对象。 scale: 缩放系数。 largeTextureIndex:大纹理的索引,指定添加到哪个大纹理。 //使用示例 const text...
来源: Laya3.0_文档 发布时间: 20260131