Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: Shape3D
Wraps JavaFX Sphere, a 3D sphere primitive defined by a radius and a subdivision count (the number of latitude and longitude divisions used to tessellate the sphere). Higher division counts produce smoother spheres at the cost of more triangles.
Sphere (double Radius = 1.0, int Divisions = 64)
Creates a new Sphere with the given radius and division count.
Radius is a double with the sphere radius.Divisions is an optional int with the tessellation count (default 64).setRadius (double R)
Sets the sphere radius.
R is a double with the new radius.this objectgetRadius ()
Returns the sphere radius.
A double with the radius.getDivisions ()
Returns the subdivision count used to tessellate the sphere.
An int with the divisions.radiusProperty ()
Returns the DoubleProperty backing the sphere radius.
An AJO wrapping javafx.beans.property.DoubleProperty.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.