Interface IProvidesSimulationVideoFeed
Defines the API for a video feed spatial context for simulation
Inherited Members
Namespace: Unity.MARS.Simulation
Syntax
public interface IProvidesSimulationVideoFeed : IFunctionalityProvider
Properties
VideoFacingDirection
The direction of the camera used to capture the video
Declaration
CameraFacingDirection VideoFacingDirection { get; }
Property Value
Type | Description |
---|---|
CameraFacingDirection |
VideoFeedTexture
The texture displaying the video feed
Declaration
Texture VideoFeedTexture { get; }
Property Value
Type | Description |
---|---|
Texture |
VideoFocalLength
The focal length of the camera used to capture the video, in pixels
Declaration
float VideoFocalLength { get; }
Property Value
Type | Description |
---|---|
Single |
Events
VideoFeedTextureChanged
Called right after the video feed texture has been created
Declaration
event Action<Texture> VideoFeedTextureChanged
Event Type
Type | Description |
---|---|
Action<Texture> |