docs.unity3d.com
    Show / Hide Table of Contents

    Class ScreenCaptureBase

    Inheritance
    Object
    ScreenCaptureBase
    ScreenCaptureTestNew
    ScreenCaptureTestOld
    Namespace: Global Namespace
    Syntax
    public class ScreenCaptureBase

    Fields

    _cameras

    Declaration
    protected Camera[] _cameras
    Field Value
    Type Description
    Camera[]

    _directional

    Declaration
    protected DirectionalLight _directional
    Field Value
    Type Description
    DirectionalLight

    kHeight

    Declaration
    public const int kHeight = 1024
    Field Value
    Type Description
    Int32

    kNumFramesToRender

    Declaration
    public const int kNumFramesToRender = 60
    Field Value
    Type Description
    Int32

    kWidth

    Declaration
    public const int kWidth = 1024
    Field Value
    Type Description
    Int32

    Methods

    Elapsed()

    Declaration
    public double Elapsed()
    Returns
    Type Description
    Double

    SetupTest(Int32, Int32, DepthTextureMode, Boolean)

    Declaration
    public virtual void SetupTest(int numCubes, int numCameras, DepthTextureMode depthTextureMode = DepthTextureMode.Depth, bool enableCamera = false)
    Parameters
    Type Name Description
    Int32 numCubes
    Int32 numCameras
    DepthTextureMode depthTextureMode
    Boolean enableCamera
    Back to top
    Terms of use
    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