 | CapsuleShape Constructor (Single, Single) |
Initializes a new instance of the
CapsuleShape class with the given radius and
height.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntaxpublic CapsuleShape(
float radius,
float height
)
Public Sub New (
radius As Single,
height As Single
)
public:
CapsuleShape(
float radius,
float height
)
new :
radius : float32 *
height : float32 -> CapsuleShape
Parameters
- radius
- Type: SystemSingle
The radius. - height
- Type: SystemSingle
The height (including the spherical caps).
Exceptions
See Also