docs.unity3d.com
    显示 / 隐藏目录

    Interface IProvidesSimulationVideoFeed

    Defines the API for a video feed spatial context for simulation

    Inherited Members
    IFunctionalityProvider.LoadProvider()
    IFunctionalityProvider.ConnectSubscriber(Object)
    IFunctionalityProvider.UnloadProvider()
    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>
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)