docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ConvexHullGenerationParameters

    Convex hull generation parameters.

    Implements
    IEquatable<ConvexHullGenerationParameters>
    Inherited Members
    ValueType.Equals(object)
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    [Serializable]
    public struct ConvexHullGenerationParameters : IEquatable<ConvexHullGenerationParameters>

    Fields

    Default

    Default convex hull generation parameters.

    Declaration
    public static readonly ConvexHullGenerationParameters Default
    Field Value
    Type Description
    ConvexHullGenerationParameters

    Properties

    BevelRadius

    Gets or sets the bevel radius.

    Declaration
    public float BevelRadius { get; set; }
    Property Value
    Type Description
    float

    The bevel radius.

    MinimumAngle

    Specifies the angle between adjacent faces below which they should be made coplanar..

    Declaration
    public float MinimumAngle { get; set; }
    Property Value
    Type Description
    float

    The minimum angle.

    SimplificationTolerance

    Specifies maximum distance that any input point may be moved when simplifying convex hull.

    Declaration
    public float SimplificationTolerance { get; set; }
    Property Value
    Type Description
    float

    The simplification tolerance.

    Methods

    Equals(ConvexHullGenerationParameters)

    Tests if this ConvexHullGenerationParameters is considered equal to another.

    Declaration
    public bool Equals(ConvexHullGenerationParameters other)
    Parameters
    Type Name Description
    ConvexHullGenerationParameters other

    The convex hull generation parameters to compare to this object.

    Returns
    Type Description
    bool

    True if the objects are considered equal, false if they are not.

    GetHashCode()

    Calculates a hash code for this object.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for this object.

    Overrides
    ValueType.GetHashCode()

    Implements

    IEquatable<T>
    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)