Function Node.setUserData

Associate an object to a key on this node. The object can later be retrieved from this node by calling getUserData with the same key.

Prototype

UserData setUserData(
  string key,
  UserData data,
  UserDataHandler!DOMString handler
);

Authors

Lodovico Giaretta

Copyright

Copyright Lodovico Giaretta 2016 --

License

Boost License 1.0.