docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SplineMesh

    Utility methods for creating and working with meshes.

    Inheritance
    object
    SplineMesh
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Splines
    Assembly: solution.dll
    Syntax
    public static class SplineMesh

    Methods

    Name Description
    Extrude<T>(IReadOnlyList<T>, Mesh, float, int, float, bool, float2)

    Extrude a mesh along a list of splines in a tube-like shape.

    Extrude<T>(T, Mesh, float, int, int, bool)

    Extrude a mesh along a spline in a tube-like shape.

    Extrude<T>(T, Mesh, float, int, int, bool, float2)

    Extrude a mesh along a spline in a tube-like shape.

    Extrude<TSplineType, TVertexType, TIndexType>(TSplineType, NativeArray<TVertexType>, NativeArray<TIndexType>, float, int, int, bool, float2)

    Extrude a mesh along a spline in a tube-like shape.

    GetVertexAndIndexCount(int, int, bool, bool, Vector2, out int, out int)

    Calculate the vertex and index count required for an extruded mesh. Use this method to allocate attribute and index buffers for use with Extrude.

    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)