ST_SetName
Updated at:
You can set the name of the material or texture.
Syntax
texture ST_SetName(texture texture, cstring name);
material ST_SetName(material material,cstring name);Parameters
Parameter name | Description |
material | The material object. |
texture | The texture object. |
name | Name |
Description
This function sets a name for a material or texture object.
Examples
Example 1:
SELECT ST_Name(ST_SetName(the_material, 'material_name')) FROM t_table ------------------- material_nameExample 2:
SELECT ST_Name(ST_SetName(the_texture, 't_name')) FROM t_table ------------------- t_name
Is this page helpful?