bool   sgCObject::SetName(const char* object_name)

 

Description:

Assigns a value to the object.

 

Arguments:

object_name - new object name (the string with a maximum length specified in SG_OBJ_NAME_MAX_LEN (in the current library version this constant value is 64)).

 

Returned value:

If the function succeed it returns true, otherwise false.

 

See also:

Objects hierarchy   sgCObject methods   GetName