original_docstring: Create a cube shape prototype.
  
          Creates a prototype and sets the relationship to its instancer.
  
          Args:
              stage (Usd.Stage): The payload stage to operate on.
              instancer (UsdGeom.PointInstancer): The instancer the prototype belongs to.
              proto_container: The parent prim containing prototypes.
              mtl_id: The unique id for the material for this prototype.
          
docstring: Create a cube shape prototype.
  Creates a prototype and sets the relationship to its instancer.
docstring_tokens: Create a cube shape prototype . Creates a prototype and sets the relationship to its instancer .
code: def _create_cube_geom(self, stage, instancer, proto_container, mtl_id):
          """Create a cube shape prototype.
  
          Creates a prototype and sets the relationship to its instancer.
  
          Args:
              stage (Usd.Stage): The payload stage to operate on.
              instancer (UsdGeom.PointInstancer): The instancer the prototype belongs to.
              proto_container: The parent prim containing prototypes.
              mtl_id: The unique id for the material for this prototype.
          """
          mtl_display_id = VoxBaseMaterial.get(mtl_id).get_display_id()
          cube = UsdGeom.Cube.Define(stage,
                                     proto_container.GetPath().AppendPath("VoxelCube_{}".format(mtl_display_id)))
          cube.CreateSizeAttr(self.voxel_size)
          self._add_binding_target(mtl_id, cube.GetPath(), GeometryVariantSetNames.POINT_INSTANCES,
                                   point_shape_var=PointShapeVariantSetNames.CUBES)
          self._set_common_point_attrs(cube, instancer, mtl_id)
code_tokens: def _create_cube_geom ( self , stage , instancer , proto_container , mtl_id ) : mtl_display_id = VoxBaseMaterial . get ( mtl_id ) . get_display_id ( ) cube = UsdGeom . Cube . Define ( stage , proto_container . GetPath ( ) . AppendPath ( "VoxelCube_{}" . format ( mtl_display_id ) ) ) cube . CreateSizeAttr ( self . voxel_size ) self . _add_binding_target ( mtl_id , cube . GetPath ( ) , GeometryVariantSetNames . POINT_INSTANCES , point_shape_var = PointShapeVariantSetNames . CUBES ) self . _set_common_point_attrs ( cube , instancer , mtl_id )
short_docstring: Create a cube shape prototype.
short_docstring_tokens: Create a cube shape prototype .
comment: """Create a cube shape prototype.
  
          Creates a prototype and sets the relationship to its instancer.
  
          Args:
              stage (Usd.Stage): The payload stage to operate on.
              instancer (UsdGeom.PointInstancer): The instancer the prototype belongs to.
              proto_container: The parent prim containing prototypes.
              mtl_id: The unique id for the material for this prototype.
          """