# GetAdditionalBakedProbes

> Retrieve the bake result of additional probes.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Experimental](/engine/6000.0/script-reference/unityeditor/experimental.md)
* **Assembly:** UnityEditor

## GetAdditionalBakedProbes(int, NativeArray\<SphericalHarmonicsL2>, NativeArray\<float>)

Retrieve the bake result of additional probes.

> **Warning:**
>
> **Deprecated.** Please use UnityEngine.LightTransport.IProbeIntegrator instead.

```csharp
public static bool GetAdditionalBakedProbes(int id, NativeArray<SphericalHarmonicsL2> outBakedProbeSH, NativeArray<float> outBakedProbeValidity)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The identifier that was used to submit an array of positions to be baked.**** (\[NativeArray\<SphericalHarmonicsL2>]\(/engine/6000.0/script-reference/unity/collections/nativearray1)): **** (\[NativeArray\<float>]\(/engine/6000.0/script-reference/unity/collections/nativearray1)):&#x20;

### Returns

| Type                                                          | Description                                                                       |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if outBakedProbeSH and outBakedProbeValidity could be successfully returned. |

### Remarks

Additional baked probes are probes that can be baked independently of any Light Probe Groups. The baked probe data contains spherical harmonic L2 coefficients as well as a single float value to determine the validity of each probe. By setting an array of probe positions with an identifier, a successive bake will produce probe results for these positions, which can then be fetched again from the API using the identifier.

## GetAdditionalBakedProbes(int, Span\<SphericalHarmonicsL2>, Span\<float>, Span\<float>)

Retrieve the bake result of additional probes.

> **Warning:**
>
> **Deprecated.** Please use UnityEngine.LightTransport.IProbeIntegrator instead.

```csharp
public static bool GetAdditionalBakedProbes(int id, Span<SphericalHarmonicsL2> outBakedProbeSH, Span<float> outBakedProbeValidity, Span<float> outBakedProbeOctahedralDepth)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The identifier that was used to submit an array of positions to be baked.**** (\[Span\<SphericalHarmonicsL2>]\(https\://learn.microsoft.com/dotnet/api/system.span-1)): **** (\[Span\<float>]\(https\://learn.microsoft.com/dotnet/api/system.span-1)): **** (\[Span\<float>]\(https\://learn.microsoft.com/dotnet/api/system.span-1)):&#x20;

### Returns

| Type                                                          | Description                                                                       |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if outBakedProbeSH and outBakedProbeValidity could be successfully returned. |

### Remarks

Additional baked probes are probes that can be baked independently of any Light Probe Groups. The baked probe data contains spherical harmonic L2 coefficients as well as a single float value to determine the validity of each probe. By setting an array of probe positions with an identifier, a successive bake will produce probe results for these positions, which can then be fetched again from the API using the identifier.

## GetAdditionalBakedProbes(int, NativeArray\<SphericalHarmonicsL2>, NativeArray\<float>, NativeArray\<float>)

Retrieve the bake result of additional probes.

> **Warning:**
>
> **Deprecated.** Please use UnityEngine.LightTransport.IProbeIntegrator instead.

```csharp
public static bool GetAdditionalBakedProbes(int id, NativeArray<SphericalHarmonicsL2> outBakedProbeSH, NativeArray<float> outBakedProbeValidity, NativeArray<float> outBakedProbeOctahedralDepth)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The identifier that was used to submit an array of positions to be baked.**** (\[NativeArray\<SphericalHarmonicsL2>]\(/engine/6000.0/script-reference/unity/collections/nativearray1)): **** (\[NativeArray\<float>]\(/engine/6000.0/script-reference/unity/collections/nativearray1)): **** (\[NativeArray\<float>]\(/engine/6000.0/script-reference/unity/collections/nativearray1)):&#x20;

### Returns

| Type                                                          | Description                                                                       |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if outBakedProbeSH and outBakedProbeValidity could be successfully returned. |

### Remarks

Additional baked probes are probes that can be baked independently of any Light Probe Groups. The baked probe data contains spherical harmonic L2 coefficients as well as a single float value to determine the validity of each probe. By setting an array of probe positions with an identifier, a successive bake will produce probe results for these positions, which can then be fetched again from the API using the identifier.
