Skip to main content

Auki::ConjureKit::Manna::DebugStorage::DebugFrameData

Represents frame data for debug purposes, which include More...

Inherited by Auki.ConjureKit.Manna.DebugStorage.DebugFrameCalibrationData

Public Functions

Name
DebugFrameData(Texture frameTexture, long timestampInMs, long framestamp, Matrix4x4 textureToProjectedCoordinatesMatrix, Matrix4x4 projectionMatrix, Matrix4x4 worldToCameraMatrix)
Initializes a new instance of the DebugFrameData class.
voidReleaseTexture()
Releases the frame texture.
stringJsonEncodedMatrices()
Gets the JSON-encoded matrices.

Public Attributes

Name
readonly Texture2DFrameTexture
Gets the frame texture.
readonly longTimestampInMs
Gets the timestamp in milliseconds.
readonly longFramestamp
Gets the framestamp.
readonly Matrix4x4TextureToProjectedCoordinatesMatrix
Gets the texture-to-projected-coordinates matrix.
readonly Matrix4x4ProjectionMatrix
Gets the projection matrix.
readonly Matrix4x4WorldToCameraMatrix
Gets the world-to-camera matrix.

Detailed Description

class Auki::ConjureKit::Manna::DebugStorage::DebugFrameData;

Represents frame data for debug purposes, which include

  • a frame texture
  • timestamp of capture
  • all matrices associated with it at the time of capture

Public Functions Documentation

function DebugFrameData

DebugFrameData(
Texture frameTexture,
long timestampInMs,
long framestamp,
Matrix4x4 textureToProjectedCoordinatesMatrix,
Matrix4x4 projectionMatrix,
Matrix4x4 worldToCameraMatrix
)

Initializes a new instance of the DebugFrameData class.

Parameters:

  • frameTexture The frame texture.
  • timestampInMs The timestamp in milliseconds.
  • framestamp The framestamp.
  • textureToProjectedCoordinatesMatrix The texture-to-projected-coordinates matrix.
  • projectionMatrix The projection matrix.
  • worldToCameraMatrix The world-to-camera matrix.

function ReleaseTexture

void ReleaseTexture()

Releases the frame texture.

function JsonEncodedMatrices

string JsonEncodedMatrices()

Gets the JSON-encoded matrices.

Return: JSON-encoded matrices as a string.

Public Attributes Documentation

variable FrameTexture

readonly Texture2D FrameTexture;

Gets the frame texture.

variable TimestampInMs

readonly long TimestampInMs;

Gets the timestamp in milliseconds.

variable Framestamp

readonly long Framestamp;

Gets the framestamp.

variable TextureToProjectedCoordinatesMatrix

readonly Matrix4x4 TextureToProjectedCoordinatesMatrix;

Gets the texture-to-projected-coordinates matrix.

variable ProjectionMatrix

readonly Matrix4x4 ProjectionMatrix;

Gets the projection matrix.

variable WorldToCameraMatrix

readonly Matrix4x4 WorldToCameraMatrix;

Gets the world-to-camera matrix.