StreamSource
Represents a stream source.
Last updated
Represents a stream source.
Last updated
Inherits class.
StreamSource()
Creates a new StreamSource object.
Timestamp
DateTime
Virtual. The stream timestamp.
Pixels
Virtual. The pixel color data for a mipmap level as Color32 structs.
Width
int
Virtual. The width of the WebcamTexture in pixels.
Height
int
Virtual. The height of the WebcamTexture in pixels.
Rotation
int
Virtual. The frame rotation
The example shows how to manage a stream with the StreamSource
class.
To create a StreamSource
, add a field for Unity to serialize.
Get the stream's timestamp, pixels, width, height and rotation.
[]