docs.unity3d.com
    Show / Hide Table of Contents

    Interface IProvidesSimulationVideoFeed

    Defines the API for a video feed spatial context for simulation

    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>
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023