docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetAutoClipping

    GetAutoClipping(int, Point3)

    Automatically compute the near and far planes depending on the scene

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public Point2 GetAutoClipping(int viewer, Point3 cameraPos)
    Parameters
    Type Name Description
    int viewer

    Viewer id returned by the createViewer function. -1 uses the default viewer id (see setDefaultViewerId).

    Point3 cameraPos
    Returns
    Type Description
    Point2
    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)