docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateRevolveExtrusion

    CreateRevolveExtrusion(Point3, Point3, double, ProfileBase, Point3, ExtrusionBoundaryType, ProfileBase)

    create a revolved extrusion body

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public uint CreateRevolveExtrusion(Point3 center, Point3 axis, double angle, ProfileBase profileBase, Point3 startingNormal, ExtrusionBoundaryType boundaryType = ExtrusionBoundaryType.Full, ProfileBase profileEnd = null)
    Parameters
    Type Name Description
    Point3 center

    The center of revolution

    Point3 axis

    The profile curves will be revolved around this axis

    double angle

    The revolution will stop at the defined angle

    ProfileBase profileBase

    Profile loops to revolve

    Point3 startingNormal

    The normal of the plane in which all starting profile lie on

    ExtrusionBoundaryType boundaryType

    If the profile curves define an area or not

    ProfileBase profileEnd

    The end profile of the extrusion

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