Struct XRCameraFrame
Parameters of the Unity Camera
that might be necessary or useful to the provider.
Implements
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: solution.dll
Syntax
public struct XRCameraFrame : IEquatable<XRCameraFrame>
Properties
Name | Description |
---|---|
ambient |
The ambient spherical harmonic coefficients that represent lighting in the real-world. |
average |
The estimated brightness of the scene. |
average |
The estimated color temperature of the scene. |
average |
The estimated intensity, in lumens, of the scene. |
camera |
A texture that simulates the camera's noise. |
color |
The estimated color correction value of the scene. |
display |
The 4x4 display matrix for the camera frame. |
exposure |
The camera exposure duration, in seconds with sub-millisecond precision, of the scene. |
exposure |
The camera exposure offset of the scene for lighting scaling. |
has |
|
has |
|
has |
|
has |
|
has |
|
has |
|
has |
|
has |
|
has |
|
has |
|
has |
|
has |
|
has |
|
has |
|
has |
|
main |
The estimated color of the most influential real-world light in the scene. |
main |
The estimated direction of the most influential real-world light in the scene. |
main |
The estimated intensity in lumens of the most influential real-world light in the scene. |
native |
A native pointer associated with this frame. The data pointed to by this pointer is specific to provider implementation. |
noise |
The level of intensity of camera grain noise in a scene. |
projection |
The 4x4 projection matrix for the camera frame. |
properties | The set of all flags indicating which properties are included in the frame. |
timestamp |
The timestamp, in nanoseconds, associated with this frame. |
tracking |
The Tracking |
Methods
Name | Description |
---|---|
Equals(object) | Compares for equality. |
Equals(XRCamera |
Compares for equality. |
Get |
Generates a hash code suitable for use in |
To |
Generates a string representation of this XRCamera |
Try |
Provides the brightness for the whole image as an average of all pixels' brightness. |
Try |
Provides the color temperature for the whole image as an average of all pixels' color temperature. |
Try |
Provides the intensity, in lumens, for the environment. |
Try |
Provides the display matrix defining how texture is being rendered on the screen. |
Try |
Provides the projection matrix for the camera frame. |
Try |
Provides a timestamp of the camera frame. |
Operators
Name | Description |
---|---|
operator ==(XRCamera |
Compares |
operator !=(XRCamera |
Compares |