Struct ConvexHullGenerationParameters
Convex hull generation parameters.
Inherited Members
Namespace: Unity.Physics
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 |
---|---|
Single | 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 |
---|---|
Single | 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 |
---|---|
Single | 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 |
---|---|
Boolean | True if the objects are considered equal, false if they are not. |
Implements
GetHashCode()
Calculates a hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | A hash code for this object. |