Class Circle3D
- All Implemented Interfaces:
AutoCloseable
Disc, ring, or arc in the local XZ plane.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarc(double start, double sweep) protected WorldStrokeStroke used to conservatively inflate extraction bounds for pixel widths and miter joins.disc()protected voidextract(WorldRenderContext context) protected WorldBoundsradius(double value) ring(double inner) segments(int value) stroke(WorldStroke value) Methods inherited from class WorldObject
animation, animationPlayback, animationValue, close, closed, effectiveTransform, effects, effects, localBounds, material, material, pickable, pickable, pickable, pickId, position, position, releaseResources, self, transform, transform, updater, updateState, visible, visible
-
Constructor Details
-
Circle3D
public Circle3D() -
Circle3D
public Circle3D(net.minecraft.world.phys.Vec3 center, double radius)
-
-
Method Details
-
radius
-
disc
-
ring
-
arc
-
segments
-
stroke
-
boundsStroke
Description copied from class:WorldObjectStroke used to conservatively inflate extraction bounds for pixel widths and miter joins.- Overrides:
boundsStrokein classWorldObject<Circle3D>
-
localBounds
- Overrides:
localBoundsin classWorldObject<Circle3D>
-
extract
- Specified by:
extractin classWorldObject<Circle3D>
-