![]() |
Tilt Five Unity SDK 1.4.2
|
The Camera Frame API and runtime. More...
Static Public Member Functions | |
static bool | TryGetFilledCameraImageBuffer (PlayerIndex playerIndex, ref T5_CamImage camImage) |
Attempt to request a new filled buffer from the camera image stream. If an empty buffer has been submitted, the oldest available image will be placed in to camImage. If no image is available, camImage will not be modified. If a new image is available, camImage will wrap the previously provided buffer, now containing the frame data. | |
static bool | TrySubmitEmptyCameraImageBuffer (PlayerIndex playerIndex, IntPtr imageBuffer, UInt32 bufferSize) |
Submit a camera image buffer to be used by the camera image stream. As images become available the buffers will be filled and returned on subsequent calls to TryGetFilledCameraImageBuffer(). It's recommended to begin with at least 3 buffers when submitting buffers to the stream, and after an image is finished being processed, resubmitting that buffer back to the camera image stream. | |
static bool | TryCancelCameraImageBuffer (PlayerIndex playerIndex, byte[] imageBuffer) |
Specify an image buffer to be released from the Tilt Five Service. If true is returned, the provided buffer is no longer in use by the service, and is available to be freed. Canceled buffers should not be utilized outside of freeing or resubmitting to the service, their data is not guaranteed to be in a specific state. | |
static bool | TryConfigureCameraImageStream (PlayerIndex playerIndex, T5_CameraStreamConfig config) |
Attempt to configure the Camera Stream. | |
static bool | TryGetDewarpedPixelCoordinate (PlayerIndex playerIndex, ref T5_PixelDewarp pixelDewarp) |
Attempt to calculate a dewarped pixel location. |
Additional Inherited Members | |
Protected Member Functions inherited from TiltFive.Singleton< T > | |
Singleton () | |
Properties inherited from TiltFive.Singleton< T > | |
static T | Instance [get] |
The Camera Frame API and runtime.
|
inlinestatic |
Specify an image buffer to be released from the Tilt Five Service. If true is returned, the provided buffer is no longer in use by the service, and is available to be freed. Canceled buffers should not be utilized outside of freeing or resubmitting to the service, their data is not guaranteed to be in a specific state.
|
inlinestatic |
Attempt to configure the Camera Stream.
|
inlinestatic |
Attempt to calculate a dewarped pixel location.
|
inlinestatic |
Attempt to request a new filled buffer from the camera image stream. If an empty buffer has been submitted, the oldest available image will be placed in to camImage. If no image is available, camImage will not be modified. If a new image is available, camImage will wrap the previously provided buffer, now containing the frame data.
|
inlinestatic |
Submit a camera image buffer to be used by the camera image stream. As images become available the buffers will be filled and returned on subsequent calls to TryGetFilledCameraImageBuffer(). It's recommended to begin with at least 3 buffers when submitting buffers to the stream, and after an image is finished being processed, resubmitting that buffer back to the camera image stream.