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

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

1. Sprite3D-Sprite3D加载 [ 100%]

...show(); var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; scene.ambientColor = new Vector3(1, 1, 1); var camera:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 0.5, 1)); camera.transform.rotate(new Vector3( -15, 0, 0), true, false); va...

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

2. Sprite3D-Sprite3D克隆 [ 92%]

...ONE; Stat.show(); scene = Laya.stage.addChild(new Scene()) as Scene; scene.ambientColor = new Vector3(1, 1, 1); var camera:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 0.5, 1)); camera.transform.rotate(new Vector3( -15, 0, 0), true, false); La...

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

3. Sprite3D-Sprite3D变换 [ 84%]

...ONE; Stat.show(); scene = Laya.stage.addChild(new Scene()) as Scene; scene.ambientColor = new Vector3(1, 1, 1); var camera:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 0.5, 1)); camera.transform.rotate(new Vector3( -15, 0, 0), true, false); va...

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

4. 自定义shader-地形shader [ 67%]

....setDiffuseScale4(new Laya.Vector2(13.96364, 13.96364)); customMaterial.setAmbientColor(new Laya.Vector3(1, 1, 1)); customMaterial.setDiffuseColor(new Laya.Vector3(1, 1, 1)); customMaterial.setSpecularColor(new Laya.Vector4(1, 1, 1, 8)); customMaterial.setLightMapScaleOffset(new Laya.Vector4(0.80566...

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