docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IProvidesCameraTexture

    Defines the API for a Camera Texture Provider This functionality provider is responsible for access to a camera texture.

    Inherited Members
    IFunctionalityProvider.LoadProvider()
    IFunctionalityProvider.ConnectSubscriber(object)
    IFunctionalityProvider.UnloadProvider()
    Namespace: Unity.MARS.Providers
    Assembly: Unity.MARS.Interfaces.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    public interface IProvidesCameraTexture : IFunctionalityProvider

    Properties

    CameraFacingDirection

    The current facing direction of the camera used to supply the texture

    Declaration
    CameraFacingDirection CameraFacingDirection { get; }
    Property Value
    Type Description
    CameraFacingDirection

    Methods

    GetCameraTexture()

    Get the current camera texture

    Declaration
    Texture GetCameraTexture()
    Returns
    Type Description
    Texture

    The current camera texture

    RequestCameraFacingDirection(CameraFacingDirection)

    Request that the provider use the camera with the given facing direction, if possible

    Declaration
    void RequestCameraFacingDirection(CameraFacingDirection facingDirection)
    Parameters
    Type Name Description
    CameraFacingDirection facingDirection

    The requested camera facing direction

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)