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);
パラメーター
項目 | 説明 |
texture | The texture object. |
material | The 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