This function is called when a component is loaded from a file or copied.
Parameter | Description |
---|---|
properties | component properties |
binstream | stream of binary data |
scene | map that is being loaded |
flags | map load flags |
extra | user-defined value |
Returns true if the component is successfully loaded, otherwise false is returned.