docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method OrientFromCamera

    OrientFromCamera(OccurrenceList, Point3, Point3, Point3, int, double)

    Properly orient all polygons in the same direction, using a specified viewpoint

    Declaration
    public void OrientFromCamera(OccurrenceList occurrences, Point3 cameraPosition, Point3 cameraDirection, Point3 cameraUp, int resolution, double fovX = 90)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences to orient

    Point3 cameraPosition

    Camera position

    Point3 cameraDirection

    Camera direction

    Point3 cameraUp

    Camera up vector

    int resolution

    Resolution of the visibility viewer

    double fovX

    Horizontal field of view (in degree)

    In This Article
    Back to top
    Copyright © 2024 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)