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

:ST_SetName

最終更新日:May 08, 2024

This topic describes the ST_SetName function. This function sets a name for a material or texture object.

構文

texture ST_SetName(texture texture, cstring name);
material ST_SetName(material material,cstring name);

パラメーター

項目説明
materialThe material object.
textureThe texture object.
nameオブジェクト名

説明 

This function sets a name for a material or texture object.

  • 例 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