Struct CapsuleGeometry
A capsule geometry.
Implements
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
public struct CapsuleGeometry : IEquatable<CapsuleGeometry>
Properties
Name | Description |
---|---|
Radius | The radius of the capsule around the line segment. |
Vertex0 | The start position of the capsule's inner line segment. |
Vertex1 | The end position of the capsule's inner line segment. |
Methods
Name | Description |
---|---|
Equals(CapsuleGeometry) | Tests if this CapsuleGeometry is considered equal to another. |
GetCenter() | The center of the capsule. |
GetHashCode() | Calculates a hash code for this object. |
GetHeight() | The height of the capsule. |