SetMember set a member of an object. Only valid for Object types (including Array and DisplayObject).
Parameters |
Description |
const char* name |
The name of the member to be set. |
const Value& val |
The value to be set as the member. |
True if the member was set, otherwise false. A false value will also be returned if the Value is a reference to a display object, and the display object was unloaded.