Struct ConvexHullGenerationParameters
Convex hull generation parameters.
Implements
Inherited Members
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. |