Documentation

Unity Engine

Unity Engine

BakeReflectionProbe(ReflectionProbe, string)

Starts a synchronous bake job for the probe.
Read time 1 minuteLast updated a month ago

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.