Class Sphere3D
- All Implemented Interfaces:
AutoCloseable
UV sphere with configurable tessellation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidextract(WorldRenderContext context) protected WorldBoundsradius(double value) segments(int rings, int segments) Methods inherited from class WorldObject
animation, animationValue, close, closed, effectiveTransform, effects, effects, localBounds, material, material, pickable, pickable, pickable, pickId, position, position, releaseResources, self, transform, transform, updater, visible, visible
-
Constructor Details
-
Sphere3D
public Sphere3D() -
Sphere3D
public Sphere3D(net.minecraft.world.phys.Vec3 center, double radius)
-
-
Method Details
-
radius
-
segments
-
localBounds
- Overrides:
localBoundsin classWorldObject<Sphere3D>
-
extract
- Specified by:
extractin classWorldObject<Sphere3D>
-