Struct SphereMesh

Class representing a spherical PrimitiveMesh.

struct SphereMesh ;

Properties

NameTypeDescription
height[get, set] doubleFull height of the sphere.
isHemisphere[get, set] boolIf true, a hemisphere is created rather than a full sphere. Note: To get a regular hemisphere, the height and radius of the sphere must be equal.
radialSegments[get, set] longNumber of radial segments on the sphere.
radius[get, set] doubleRadius of sphere.
rings[get, set] longNumber of segments along the height of the sphere.

Methods

NameDescription
getHeight
getIsHemisphere
getRadialSegments
getRadius
getRings
setHeight
setIsHemisphere
setRadialSegments
setRadius
setRings