Geometry center
Calculates the center of the input primitives.
Inputs
-
geometry
- Accepts a single geometry connection (unless the SHIFT key is held).
-
mode
- Sets the mode in which this node calculates the center of the input primitives. This can be
center
(the midpoint of the geometry bounds) orcentroid
(the average of the points within the geometry).
- Sets the mode in which this node calculates the center of the input primitives. This can be
-
output opposite
- Sets whether to invert the output geometry center or not.
Outputs
-
center
- The vector value of the calculated geometry center of all input primitives.
-
centerX
- The x value of the calculated geometry center of all input primitives.
-
centerY
- The y value of the calculated geometry center of all input primitives.
-
centerZ
- The z value of the calculated geometry center of all input primitives.
-
primitive centers
- The list of vector values of the geometry centers of each individual input primitive.
Notes
- Other names for this node include: GeometryCentroid, Centroid, and Barycenter.