Interface IProvidesSimulationVideoFeed
Defines the API for a video feed spatial context for simulation
Inherited Members
IFunctionalityProvider.LoadProvider()
IFunctionalityProvider.UnloadProvider()
Namespace: Unity.MARS.Simulation
Assembly: Unity.MARS.Interfaces.dll
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 |
|---|---|
| float |
Events
VideoFeedTextureChanged
Called right after the video feed texture has been created
Declaration
event Action<Texture> VideoFeedTextureChanged
Event Type
| Type | Description |
|---|---|
| Action<Texture> |