文档

Unity Engine

Unity Engine

BakeReflectionProbe(ReflectionProbe, string)

Starts a synchronous bake job for the probe.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool BakeReflectionProbe(ReflectionProbe probe, string path)

Parameters

Target probe.

path

The location where cubemap will be saved.

Returns

Type

Description

boolReturns true if baking was succesful.

Remarks

Returns when the baking has finished. Additional Resources: ReflectionProbe.