AppleSCNCapsule - UBogun/Xojo-iosLib GitHub Wiki

Inherits from AppleSCNGeometry
Memory leak check: not yet done.
Status: completed

An SCNCapsule geometry models a right circular cylinder whose ends are capped with hemispheres.

Please see the superclass for more properties and methods

Constructors

Constructor(CapRadius As Double, Height As Double): Creates a capsule geometry with the specified radius and height.

Properties

CapRadius As Double: The radius both of the capsule’s circular center cross section and of its hemispherical ends. Animatable.

CapSegmentCount As Integer: The number of subdivisions in the height of each hemispherical end of the capsule. Animatable.

Height As Double: The extent of the capsule along its y-axis. Animatable.

HeightSegmentCount As Integer: The number of subdivisions in the sides of the capsule along its y-axis. Animatable.

RadialSegmentCount As Integer: The number of subdivisions around the lateral circumference of the capsule. Animatable.