docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DrawingUtility

    Drawing utilities

    Inheritance
    object
    DrawingUtility
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Physics.Authoring
    Assembly: Unity.Physics.Hybrid.dll
    Syntax
    public static class DrawingUtility

    Methods

    GetConvexColliderEdges(ref ConvexCollider, List<Vector3>)

    Get the edges of a convex collider.

    Declaration
    public static void GetConvexColliderEdges(ref ConvexCollider collider, List<Vector3> edges)
    Parameters
    Type Name Description
    ConvexCollider collider

    The convex collider.

    List<Vector3> edges

    The generated edges, representing a single edge as a pair of points.

    GetMeshColliderEdges(ref MeshCollider, List<Vector3>)

    Get the edges of a mesh collider.

    Declaration
    public static void GetMeshColliderEdges(ref MeshCollider collider, List<Vector3> edges)
    Parameters
    Type Name Description
    MeshCollider collider

    The mesh collider.

    List<Vector3> edges

    The generated edges, representing a single edge as a pair of points.

    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)