Struct ARCameraFrameEventArgs
A structure for camera-related information pertaining to a particular frame.
This is used to communicate information in the event.
Syntax
public struct ARCameraFrameEventArgs : IEquatable<ARCameraFrameEventArgs>
Properties
disabledMaterialKeywords
The list of keywords to be disabled for the material.
Declaration
public List<string> disabledMaterialKeywords { get; }
Property Value
displayMatrix
Gets or sets the display matrix for use in the shader used
by the .
Use displayMatrix.HasValue
to determine if this data is available.
Declaration
public Matrix4x4? displayMatrix { get; set; }
Property Value
enabledMaterialKeywords
The list of keywords to be enabled for the material.
Declaration
public List<string> enabledMaterialKeywords { get; }
Property Value
exposureDuration
The exposure duration in seconds with sub-millisecond precision. Utilized in calculating motion blur.
Declaration
public double? exposureDuration { get; set; }
Property Value
exposureOffset
The offset of camera exposure. Used to scale scene lighting in post-processed lighting stage.
Declaration
public float? exposureOffset { get; set; }
Property Value
lightEstimation
The associated with this frame.
Declaration
public ARLightEstimationData lightEstimation { get; set; }
Property Value
projectionMatrix
Gets or sets the projection matrix for the AR Camera. Use
projectionMatrix.HasValue
to determine if this data is available.
Declaration
public Matrix4x4? projectionMatrix { get; set; }
Property Value
propertyNameIds
Ids of the property name associated with each texture. This is a
parallel List
to the textures list.
Declaration
public List<int> propertyNameIds { get; set; }
Property Value
textures
The textures associated with this camera frame. These are generally
external textures, which exist only on the GPU. To use them on the
CPU, e.g., for computer vision processing, you will need to read
them back from the GPU.
Declaration
public List<Texture2D> textures { get; set; }
Property Value
timestampNs
The time, in nanoseconds, associated with this frame.
Use timestampNs.HasValue
to determine if this data is available.
Declaration
public long? timestampNs { get; set; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(ARCameraFrameEventArgs)
Declaration
public bool Equals(ARCameraFrameEventArgs other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Generates a string representation of this struct suitable for debug
logging.
Declaration
public override string ToString()
Returns
Type |
Description |
String |
A string representation of this struct suitable for debug
logging.
|
Overrides
Operators
Equality(ARCameraFrameEventArgs, ARCameraFrameEventArgs)
Declaration
public static bool operator ==(ARCameraFrameEventArgs lhs, ARCameraFrameEventArgs rhs)
Parameters
Returns
Inequality(ARCameraFrameEventArgs, ARCameraFrameEventArgs)
Declaration
public static bool operator !=(ARCameraFrameEventArgs lhs, ARCameraFrameEventArgs rhs)
Parameters
Returns