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

大约有 193 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0035 秒)

171. laya.utils.Stat_API3.0 [ 35%]

...Toggle: Array<StatToggleUIParams> = [Stat.toogle_Shadow, Stat.toogle_Light, Stat.toogle_MulLight, Stat.toogle_Postprocess, Stat.toogle_AnimatorUpdate, Stat.toogle_PhysicsUpdate, Stat.toogle_Opaque, Stat.toogle_Transparent, Stat.toogle_CameraCMD, Stat.toogle_Skin, Stat.toogle_Particle, Stat.too...

来源: Laya3.0_api 发布时间: 20231115

172. 动画-新版骨骼动画 [ 34%]

...a.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../../res/thr...

来源: Laya_示例 发布时间: 20241118

173. Mesh网格-自定义网格 [ 34%]

...a.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSprite3D(new ...

来源: Laya_示例 发布时间: 20241118

174. 关联shader的uniform(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 34%]

... highp float; #else precision mediump float; #endif uniform float u_OutlineLightness; uniform vec4 u_OutlineColor; void main() { vec3 finalColor = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.v...

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

175. 关联shader的uniform(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 34%]

... highp float; #else precision mediump float; #endif uniform float u_OutlineLightness; uniform vec4 u_OutlineColor; void main() { vec3 finalColor = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.v...

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

176. 材质-BlinnPhong-反射贴图 [ 34%]

...ue, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var textureCube = Laya.TextureCube.load("../../res/threeDimen/skyB...

来源: Laya_示例 发布时间: 20241118

177. 材质-BlinnPhong-高光贴图 [ 34%]

..., 0, 0), true, false); camera.addComponent(CameraMoveScript); var directionLight = this.scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var completeHandler = Laya.Handler.create(this, onComplete); ...

来源: Laya_示例 发布时间: 20241118

178. 关联shader的uniform(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 34%]

... highp float; #else precision mediump float; #endif uniform float u_OutlineLightness; uniform vec4 u_OutlineColor; void main() { vec3 finalColor = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.v...

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

179. 材质-BlinnPhong-法线贴图 [ 33%]

...a.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); var directionLight = this.scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); Laya.loader.create("../../res/threeDimen/staticModel/lizardCa...

来源: Laya_示例 发布时间: 20241118

180. 高级应用-实时阴影 [ 31%]

...a.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); //灯光开启阴影 directionLight.shadow = true; //可见阴影...

来源: Laya_示例 发布时间: 20241118