docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CameraCaptureSettings

    Settings to control how the camera capture frames.

    Inheritance
    object
    CameraCaptureSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.TestTools.Graphics
    Assembly: UnityEngine.TestTools.Graphics.dll
    Syntax
    [Serializable]
    public class CameraCaptureSettings

    Fields

    msaaSamples

    The number of samples taken for smoothing.

    Declaration
    public int msaaSamples
    Field Value
    Type Description
    int

    targetHeight

    Height of the texture2D that contains the captured frame

    Declaration
    public int targetHeight
    Field Value
    Type Description
    int

    targetWidth

    Width of the texture2D that contains the captured frame

    Declaration
    public int targetWidth
    Field Value
    Type Description
    int

    useHDR

    Whether the default HDR format of the platforms is used for the camera RenderTexture. The final texture is blitted into the LDR format.

    Declaration
    public bool useHDR
    Field Value
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2026 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)