docs.unity3d.com
    Show / Hide Table of Contents

    Class DrawingUtility

    Drawing utilities

    Inheritance
    Object
    DrawingUtility
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Physics.Authoring
    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023