Method RetrieveProbeSH
RetrieveProbeSH(int, out SphericalHarmonicsL2, out Vector3)
Retrieve the result of a capture request, it will return false if the request has not been fulfilled yet or the request ID is invalid.
Declaration
public bool RetrieveProbeSH(int probeInstanceID, out SphericalHarmonicsL2 sh, out Vector3 pos)
Parameters
Type | Name | Description |
---|---|---|
int | probeInstanceID | The instance ID of the probe doing the request. |
SphericalHarmonicsL2 | sh | The output SH coefficients that have been computed. |
Vector3 | pos | The position for which the computed SH coefficients are valid. |
Returns
Type | Description |
---|---|
bool | Whether the request for light probe rendering has been fulfilled and sh is valid. |