LightEstimate

public class LightEstimate

Holds information about the estimated lighting of the real scene. Returned by Frame.getLightEstimate()

Nested Classes

enum LightEstimate.State Light Estimate States. 

Public Methods

Image[]
acquireEnvironmentalHdrCubeMap()
Gets the 6 cubemap textures in OpenGL texture format based on the inferred Environmental HDR lighting.
void
getColorCorrection(float[] outColorCorrection4, int offset)
Returns RGB scaling factors to be applied to the final color computed in the fragment shader.
float[]
getEnvironmentalHdrAmbientSphericalHarmonics()
Gets the spherical harmonics coefficients for the ambient illumination based on the inferred Environmental HDR lighting.
float[]
getEnvironmentalHdrMainLightDirection()
Returns the direction of the main directional light based on the inferred Environmental HDR light estimation.
float[]
getEnvironmentalHdrMainLightIntensity()
Returns the intensity of the main directional light based on the inferred Environmental HDR lighting estimation.
float
getPixelIntensity()
Returns the pixel intensity of the current camera view in gamma color space.
LightEstimate.State
getState()
Returns the validity of this lighting estimate.
long
getTimestamp()
Returns the timestamp of the LightEstimate in nanoseconds.

Inherited Methods

Public Methods