reckfellENGINE

CameraTexture

Texture provided by a CameraFeed.

On this page
class CameraTextureReckfellSharpInherits Texture2D

Texture provided by a CameraFeed.

This texture gives access to the camera texture provided by a CameraFeed. Note: Many cameras supply YCbCr images which need to be converted in a shader.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

CameraTextureConstructor
# CameraTexture
C#
public CameraTexture();

Properties3

CameraFeedIdProperty
# CameraFeedId
C#
public int CameraFeedId { get; set; }

The ID of the CameraFeed for which we want to display the image.

CameraIsActiveProperty
# CameraIsActive
C#
public bool CameraIsActive { get; set; }

Convenience property that gives access to the active property of the CameraFeed.

WhichFeedProperty
# WhichFeed
C#
public CameraServer.FeedImage WhichFeed { get; set; }

Which image within the CameraFeed we want access to, important if the camera image is split in a Y and CbCr component.

Methods6

GetCameraActivebool
# GetCameraActive
C#
public bool GetCameraActive();
Returns bool
GetCameraFeedIdint
# GetCameraFeedId
C#
public int GetCameraFeedId();
Returns int
GetWhichFeedCameraServer.FeedImage
# GetWhichFeed
C#
public CameraServer.FeedImage GetWhichFeed();
Returns CameraServer.FeedImage
SetCameraActivevoid
# SetCameraActive
C#
public void SetCameraActive(bool active);
Parameters
NameTypeDefault
activebool—
SetCameraFeedIdvoid
# SetCameraFeedId
C#
public void SetCameraFeedId(int feedId);
Parameters
NameTypeDefault
feedIdint—
SetWhichFeedvoid
# SetWhichFeed
C#
public void SetWhichFeed(CameraServer.FeedImage whichFeed);
Parameters
NameTypeDefault
whichFeedCameraServer.FeedImage—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.