set_by_name
Description:
public void set_by_name (
string name,
bool enabled)
Enables/disables a state in an StateSet according to its name
.
Parameters:
this |
a pointer to the StateSet object on which to operate.
|
name |
a string corresponding to a state name.
|
enabled |
if TRUE , name should be enabled in the this in question; otherwise, it
should be disabled.
|