file: Cone.aus

class: Cone

[19:7] extends: Prism

Wraps FXGL's Cone, a Prism subclass whose top radius collapses to a point by default, producing a cone with a circular base. The default division count is 64 (CustomShape3D.DEFAULT_NUM_DIVISIONS), which is plenty for a smooth profile. Cone inherits the full Prism surface (bottomRadius, topRadius, height, numDivisions). Set a non-zero TopRadius to produce a conical frustum (lampshade).

Methods