大约有 2,523 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0066 秒)
Laya_社区(2458) Laya2.0_文档(27) Laya3.0_api(15) Laya3.0_文档(12) Laya_示例(5) Laya2.0_api(5) laya_api(1)
... = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.vs` 代码如下: ```c++ #include "Lighting.glsl"; attribute vec4 a_Position; attribute vec2 a_Texcoord0; uniform mat4 u_MvpMatrix; uniform mat...
来源: Laya2.0_文档 发布时间: 20210715
... = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.vs` 代码如下: ```c++ #include "Lighting.glsl"; attribute vec4 a_Position; attribute vec2 a_Texcoord0; uniform mat4 u_MvpMatrix; uniform mat...
来源: Laya2.0_文档 发布时间: 20210715
...leteHandler, progressHander); 在 Laya 1.7.22 中 正常工作,但 Laya2.0.0 中,不管加载的是什么,都会变成string。 Laya2.0.0 中必须是 只能直接给 字符串作为url参数 ,才能正常工作,如下 Laya.loader.create("Res3D/testHuman.lh", completeHandler, pro...
来源: Laya_社区 发布时间: 20180126
...age *= 1.0 + a_AgeAddScale;\n float normalizedAge = clamp(age / u_Duration,0.0,1.0);\n gl_Position = ComputeParticlePosition(a_Position, a_Velocity, age, normalizedAge);//计算粒子位置\n float pSize = ComputeParticleSize(a_SizeRotation.x,a_SizeRotation.y, normalizedAge);\n mat2 rotation = Compu...
来源: Laya_社区 发布时间: 20171109
... = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.vs` 代码如下: ```c++ #include "Lighting.glsl"; attribute vec4 a_Position; attribute vec2 a_Texcoord0; uniform mat4 u_MvpMatrix; uniform mat...
来源: Laya2.0_文档 发布时间: 20210715
...lse camera._shaderValues.setValue(Laya.BaseCamera.HDREXPOSURE, Math.pow(2, 0.0)); scene.addChild(camera); camera.transform.translate(new Vector3(0, 0, 1.0)); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; var skyDome = new Laya.SkyDome(); camera.sky = skyDom...
来源: Laya_示例 发布时间: 20251130
... #endif\n \n #ifdef DIFFUSEMAP\n if(v_Discard!=0.0)\n discard;\n #ifdef TINTCOLOR\n gl_FragColor*=texture2D(u_texture,v_TextureCoordinate)*u_Tintcolor*2.0*v_Color;\n #else\n gl_FragColor*=t...
来源: Laya_社区 发布时间: 20190412
...止修改 Static Readonly ZERO ZERO: Readonly<Vector2> = new Vector2(0.0, 0.0) Defined in laya/d3/math/Vector2.ts:8 零向量,禁止修改 Methods clone clone(): any Defined in laya/d3/math/Vector2.ts:124 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject: any): void Defined in l...
来源: Laya3.0_api 发布时间: 20231102
...止修改 Static Readonly ZERO ZERO: Readonly<Vector2> = new Vector2(0.0, 0.0) Defined in laya/maths/Vector2.ts:10 零向量,禁止修改 Methods clone clone(): any Defined in laya/maths/Vector2.ts:136 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject: any): void Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...read property 'btCollisionObject' of undefined 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined ide 2.4 layaair2-cmd 编译报错 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 真机调试报错:LayaP...
来源: Laya_社区 发布时间: 20170720