すべてのプロダクト
Search
ドキュメントセンター

PolarDB:ST_Name

最終更新日:Jul 02, 2024

This topic describes the ST_Name function. This function returns the name of a material or texture object.

構文

cstring ST_Name(texture texture);
cstring ST_Name(material material);

パラメーター

項目説明
textureThe texture object.
materialThe material object.

説明 

This function returns the name of a material or texture object. You must call the ST_SetName function to configure a name before you can call this function to query the name.

  • 例 1:
    SELECT ST_Name(ST_SetName(the_material, 'material_name'))
    FROM t_table
    
    -------------------
    material_name
  • 例 2:
    SELECT ST_Name(ST_SetName(the_texture, 't_name'))
    FROM t_table
    
    -------------------
    t_name