blender-manual/manual/modeling/geometry_nodes/mesh/primitives/cube.rst

42 lines
969 B
ReStructuredText

.. index:: Geometry Nodes; Cube
.. _bpy.types.GeometryNodeMeshCube:
*********
Cube Node
*********
.. figure:: /images/node-types_GeometryNodeMeshCube.webp
:align: right
:alt: Cube Node.
The *Cube* node generates a cuboid mesh with variable side lengths and subdivisions.
The inside of the mesh is still hollow like a normal cube.
Inputs
======
Size
Side lengths along each of the main axes.
Vertices X, Y, Z
Number of vertices for each side of the cube.
The number of vertices should be at least 1.
Properties
==========
This node has no properties.
Outputs
=======
Mesh
Standard geometry output.
UV Map
A 2D vector representing the default X/Y coordinates of the :term:`UV Map` for the primitive's shape.
This can be connected to the :doc:`/modeling/geometry_nodes/attribute/store_named_attribute`,
to be used once the Geometry Nodes Modifier get applied.
The UV map must be stored on the face corner in order to be accessed.