Tilt Five Unity SDK 1.4.2
Loading...
Searching...
No Matches
TiltFive.T5_CamImage Struct Reference

Represents a wrapper on a buffer comtaining a camera image. More...

Public Member Functions

 T5_CamImage (UInt16 bufferWidth, UInt16 bufferHeight, UInt16 bufferStride, UInt32 bufferSize)

Public Attributes

UInt16 ImageBufferWidth_PIX
UInt16 ImageBufferHeight_PIX
UInt16 ImageBufferStride_PIX
UInt32 ImageBufferSize_PIX
IntPtr ImageBuffer

Properties

Vector3 PosOfCAM_STAGE [get, set]
Quaternion RotToCAM_STAGE [get, set]
Vector3 PosOfCAM_GBD [get]
Quaternion RotToCAM_GBD [get]

Detailed Description

Represents a wrapper on a buffer comtaining a camera image.

This struct exists primarily to guarantee a common memory layout when marshaling an image buffer to/from the native plugin. Note that it implements IDisposable, and that it should be wrapped in a "using" statement/block to avoid leaking memory.

Constructor & Destructor Documentation

◆ T5_CamImage()

TiltFive.T5_CamImage.T5_CamImage ( UInt16 bufferWidth,
UInt16 bufferHeight,
UInt16 bufferStride,
UInt32 bufferSize )
inline

Member Data Documentation

◆ ImageBuffer

IntPtr TiltFive.T5_CamImage.ImageBuffer

◆ ImageBufferHeight_PIX

UInt16 TiltFive.T5_CamImage.ImageBufferHeight_PIX

◆ ImageBufferSize_PIX

UInt32 TiltFive.T5_CamImage.ImageBufferSize_PIX

◆ ImageBufferStride_PIX

UInt16 TiltFive.T5_CamImage.ImageBufferStride_PIX

◆ ImageBufferWidth_PIX

UInt16 TiltFive.T5_CamImage.ImageBufferWidth_PIX

Property Documentation

◆ PosOfCAM_GBD

Vector3 TiltFive.T5_CamImage.PosOfCAM_GBD
get

◆ PosOfCAM_STAGE

Vector3 TiltFive.T5_CamImage.PosOfCAM_STAGE
getset

◆ RotToCAM_GBD

Quaternion TiltFive.T5_CamImage.RotToCAM_GBD
get

◆ RotToCAM_STAGE

Quaternion TiltFive.T5_CamImage.RotToCAM_STAGE
getset

The documentation for this struct was generated from the following file: