Class Line3D
- All Implemented Interfaces:
AutoCloseable
Retained camera-aware line ribbon.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected WorldStrokeStroke used to conservatively inflate extraction bounds for pixel widths and miter joins.protected voidextract(WorldRenderContext context) protected WorldBoundspoints(net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end) 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
-
Line3D
public Line3D(net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end) -
Line3D
public Line3D(double x1, double y1, double z1, double x2, double y2, double z2)
-
-
Method Details
-
points
-
stroke
-
boundsStroke
Description copied from class:WorldObjectStroke used to conservatively inflate extraction bounds for pixel widths and miter joins.- Overrides:
boundsStrokein classWorldObject<Line3D>
-
localBounds
- Overrides:
localBoundsin classWorldObject<Line3D>
-
extract
- Specified by:
extractin classWorldObject<Line3D>
-