docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateRevolutionSurface

    CreateRevolutionSurface(uint, Point3, Point3, double, double)

    Create a new revolution surface

    Declaration
    public uint CreateRevolutionSurface(uint generatrixCurve, Point3 axisOrigin, Point3 axisDirection, double startAngle = 0, double endAngle = 360)
    Parameters
    Type Name Description
    uint generatrixCurve

    Generatrix curve rotated to create the revolution surface

    Point3 axisOrigin

    Axis origin point

    Point3 axisDirection

    Axis direction vector

    double startAngle

    Start angle of the revolution surface

    double endAngle

    End angle of the revolution surface

    Returns
    Type Description
    uint
    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)