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

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

71. laya.d3.shader.ShaderCompile3D [ 70%]

... SHADERDEFINE_COLOR : int = 0x80[static] ShaderCompile3D  SHADERDEFINE_DIRECTIONLIGHT : int = 0x8[static] ShaderCompile3D  SHADERDEFINE_FOG : int = 0x4[static] ShaderCompile3D  SHADERDEFINE_HIGHPRECISION : int = 0x1[static] ShaderCompile3D  SHADERDEFINE_POINTLIGHT : int = 0x10[static] Shade...

来源: laya_api 发布时间: 20170929

72. [BUG]刚体约束问题,移动后约束混乱! [ 70%]

...ew Laya.Vector3(0, 3, 30));          //方向光     const directionLight =this.newScene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight;     directionLight.color = new Laya.Vector3(1, 1, 1);     //设置平行光的方向     directionLight.transform....

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

73. rigidBody.applyForce 物体不会移动 [ 69%]

...場景 private scene: Laya.Scene3D; private camera: Laya.Camera; private directionlight: Laya.DirectionLight; private character: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector...

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

74. 3D的点光源或者聚光灯的光源会穿透模型 [ 68%]

... ddf • 2020-05-09 18:28 @NilZ:参照示例里的关照实时阴影,在DirectionLight光源里能实现阴影,但在spotLight和pointLight上依然是没用的 NilZ • 2020-05-09 19:00 @ddf:DirectionLight光源里能实现阴影已经支持实时阴影了,但是spotLight和pointLight还没...

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

75. SubShader介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 66%]

....PERIOD_SCENE, 'u_AmbientSHC': Shader3D.PERIOD_SCENE, //legacy lighting 'u_DirectionLight.color': Shader3D.PERIOD_SCENE, 'u_DirectionLight.direction': Shader3D.PERIOD_SCENE, 'u_PointLight.position': Shader3D.PERIOD_SCENE, 'u_PointLight.range': Shader3D.PERIOD_SCENE, 'u_PointLight.color': Shader3D.PE...

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

76. SubShader介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 66%]

....PERIOD_SCENE, 'u_AmbientSHC': Shader3D.PERIOD_SCENE, //legacy lighting 'u_DirectionLight.color': Shader3D.PERIOD_SCENE, 'u_DirectionLight.direction': Shader3D.PERIOD_SCENE, 'u_PointLight.position': Shader3D.PERIOD_SCENE, 'u_PointLight.range': Shader3D.PERIOD_SCENE, 'u_PointLight.color': Shader3D.PE...

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

77. SubShader介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 66%]

....PERIOD_SCENE, 'u_AmbientSHC': Shader3D.PERIOD_SCENE, //legacy lighting 'u_DirectionLight.color': Shader3D.PERIOD_SCENE, 'u_DirectionLight.direction': Shader3D.PERIOD_SCENE, 'u_PointLight.position': Shader3D.PERIOD_SCENE, 'u_PointLight.range': Shader3D.PERIOD_SCENE, 'u_PointLight.color': Shader3D.PE...

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

78. SpotLight介绍(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 65%]

...Light.transform.worldMatrix; mat.setForward(new Vector3(0.15, -1.0, 0.0)); directionLight.transform.worldMatrix=mat; //设置聚光灯范围 spotLight.range = 6.0; //设置聚光灯锥形角度 spotLight.spotAngle = 32; ``` **range** 为聚光的照射范围,与点光类似,区别只是聚光有...

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

79. 2D精灵光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...ht(): void { let directlithtComponent = this.directLight.getComponent(Laya.DirectionLight2D); directlithtComponent.color = new Laya.Color(1, 1, 1); directlithtComponent.intensity = 0.2; } // 配置背景 setBackground(): void { let mesh2Drender = this.background.getComponent(Laya.Mesh2DRender); mesh...

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

80. laya.d3.core.light.DirectionLightCom_API3.0 [ 64%]

...ted All Inherited Externals Only exported Menu Globals "laya/d3/core/light/DirectionLightCom" DirectionLightCom Class DirectionLightCom DirectionLight 类用于创建平行光。 Hierarchy Light DirectionLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scr...

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