Package toxi.volume
Class RoundBrush
java.lang.Object
toxi.volume.VolumetricBrush
toxi.volume.RoundBrush
-
Field Summary
Fields inherited from class toxi.volume.VolumetricBrush
MODE_ADDITIVE, MODE_MULTIPLY, MODE_PEAK, MODE_REPLACE
-
Constructor Summary
ConstructorDescriptionRoundBrush
(VolumetricSpace volume, float radius) Creates a new spherical brush to work on the given volume. -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawAtGridPos
(float cx, float cy, float cz, float density) void
setSize
(float radius) Methods inherited from class toxi.volume.VolumetricBrush
drawAtAbsolutePos, setMode
-
Constructor Details
-
RoundBrush
Creates a new spherical brush to work on the given volume.- Parameters:
volume
- VolumetricSpaceArray instanceradius
- radius in world units
-
-
Method Details
-
drawAtGridPos
public void drawAtGridPos(float cx, float cy, float cz, float density) - Specified by:
drawAtGridPos
in classVolumetricBrush
-
setSize
public void setSize(float radius) - Specified by:
setSize
in classVolumetricBrush
-