sync


Description:

[ Version ( since = "2.4" ) ]
public static bool sync (Object src, Object dest, ParamFlags flags)

Compares all read- and write-able properties from src and dest that have all flags set.

Differing values are then copied from src to dest. If flags is 0, all differing read/write properties.

Properties marked as "construct-only" are not touched.

If the two objects are not of the same type, only properties that exist in both object classes and are of the same value_type are synchronized

Parameters:

src

a Object

dest

another Object

flags

a mask of GParamFlags

Returns:

true if dest was modified, false otherwise