A sensor which represents all available cameras on the current device.
The texture representing what the currently active camera is capturing. This value may be null if no active camera is set, or if the image from the active camera is not ready.
The raw RGBA data from the camera. This data is written to by another thread, which means that it is not atomically correct. The data in this array may be written to as you are reading from it.
The width of the current texture, or null if no texture is currently available.
The height of the current texture, or null if no texture is currently available.
The currently active camera. This is initially null, and you need to set this value to one of the cameras returned by M:Protogame.ICameraSensor.GetAvailableCameras.
Gets all of the available cameras on this device.
- readonly Texture2D