Struct CylinderGeometry
A cylinder geometry.
Implements
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
public struct CylinderGeometry : IEquatable<CylinderGeometry>
Fields
Name | Description |
---|---|
MaxSideCount | The maximum number of sides. |
MinSideCount | The minimum number of sides. |
Properties
Name | Description |
---|---|
BevelRadius | The radius by which to round off the edges of the cylinder. This helps to optimize collision detection performance, by reducing the likelihood of the inner hull being penetrated and incurring expensive collision algorithms. |
Center | The center of the cylinder. |
Height | The height of the cylinder, centered along the local Y axis. |
Orientation | The orientation of the cylinder. |
Radius | The radius of the cylinder. |
SideCount | The number of faces used to represent the rounded part of the cylinder. |
Methods
Name | Description |
---|---|
Equals(CylinderGeometry) | Tests if this CylinderGeometry is considered equal to another. |
GetHashCode() | Calculates a hash code for this object. |