docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateBoundedLinearExtrusionBody

    CreateBoundedLinearExtrusionBody(ProfileBase, Point3, Point3, Point3, Point3, ExtrusionBoundaryType, ProfileBase)

    create a linear extrusion body

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public uint CreateBoundedLinearExtrusionBody(ProfileBase profileBase, Point3 direction, Point3 planeOrigin, Point3 planeNormal, Point3 startTangent, ExtrusionBoundaryType boundaryType = ExtrusionBoundaryType.Full, ProfileBase profileEnd = null)
    Parameters
    Type Name Description
    ProfileBase profileBase

    Profile loops to revolve

    Point3 direction

    The profile curves will be extruded in this direction

    Point3 planeOrigin

    The origin of the plane that bound the extrusion

    Point3 planeNormal

    The normal of the plane that bound the extrusion

    Point3 startTangent

    The starting tangent corresponding of the normal of the plane in which all profile lie

    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 © 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)