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

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

21. laya.d3.core.light.LightSprite [ 69%]

...ceLightSprite Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLight LightSprite 类用于创建灯光的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...

来源: laya_api 发布时间: 20170929

22. 关于平行光渲染投影问题,求解惑 [ 66%]

....Vector3(0,0,0),new Laya.Vector3(0,1,0)); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //移动灯光位置 light.transform.translate(new Laya.Vector3(-5,10,-5)); //设置灯光方向 light.direction = new Laya.Vector3(1, -1, 1);...

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

23. 官方LayaAir之灯光一节示例背景在微信里表现不一致 [ 63%]

...w Laya.Vector3( -30, 0, 0), true, false); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //移动灯光位置 light.transform.translate(new Laya.Vector3(0,5,0)); //设置灯光方向 light.direction = new Laya.Vector3(0.3, -1, 0); ...

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

24. laya.d3.core.light.LightSprite [ 55%]

...priteInheritanceLightSprite Sprite3D Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLight LightSprite 类用于创建灯光的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...

来源: Laya2.0_api 发布时间: 20190513

25. laya阴影问题 [ 53%]

... var light = this.MainScene3D.getChildByName("DirectionalLight") as Laya.DirectionLight; light.color = new Laya.Vector3(1, 1, 1); light.shadow = true; light.shadowDistance = 1; light.shadowPCFType = 3; light.shadowResolution = 1024; light.shadowPSSMCount = 1; for (let index = 0; index < 2; index+...

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

26. [含Demo]Laya2.0.1出包微信小游戏Android黑屏 expected Number(uniform4f) [ 50%]

...shRenderer.material = material;后插入如下代码: // 自定义内容 directionLight.shadow = true; box.meshRenderer.castShadow = true; box.meshRenderer.receiveShadow = true;3. F6运行,渲染正常 4. 打包发布并导入微信小游戏工具,使用基础库2.6.6 5. iOS扫码启动,渲...

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

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

....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

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

....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

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

....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

30. laya.d3.core.light.PointLight [ 35%]

...Public Constants Show Inherited Public Constants ConstantDefined By TYPE_DIRECTIONLIGHT : int = 1[static] 定义平行光类型的标记。LightSprite TYPE_POINTLIGHT : int = 2[static] 定义点光类型的标记。LightSprite TYPE_SPOTLIGHT : int = 3[static] 定义聚光类型的标记。LightS...

来源: laya_api 发布时间: 20170929