Synchronizes properties from the multiplayer authority to the remote peers.
By default, [MultiplayerSynchronizer] synchronizes configured properties to all peers.
Visibility can be handled directly with [method set_visibility_for] or as-needed with [method add_visibility_filter] and [method update_visibility].
[MultiplayerSpawner]s will handle nodes according to visibility of synchronizers as long as the node at [member root_path] was spawned by one.
Internally, [MultiplayerSynchronizer] uses [method MultiplayerAPI.object_configuration_add] to notify synchronization start passing the [Node] at [member root_path] as the [code]object[/code] and itself as the [code]configuration[/code], and uses [method MultiplayerAPI.object_configuration_remove] to notify synchronization end in a similar way.
[b]Note:[/b] Synchronization is not supported for [Object] type properties, like [Resource]. Properties that are unique to each peer, like the instance IDs of [Object]s (see [method Object.get_instance_id]) or [RID]s, will also not work in synchronization.
Adds a peer visibility filter for this synchronizer.
[param filter] should take a peer ID [int] and return a [bool].
Queries the current visibility for peer [param peer].
Removes a peer visibility filter from this synchronizer.
Sets the visibility of [param peer] to [param visible]. If [param peer] is [code]0[/code], the value of [member public_visibility] will be updated instead.
Updates the visibility of [param for_peer] according to visibility filters. If [param for_peer] is [code]0[/code] (the default), all peers' visibilties are updated.
Time interval between delta synchronizations. When set to [code]0.0[/code] (the default), delta synchronizations happen every network process frame.
Whether synchronization should be visible to all peers by default. See [method set_visibility_for] and [method add_visibility_filter] for ways of configuring fine-grained visibility options.
Resource containing which properties to synchronize.
Time interval between synchronizations. When set to [code]0.0[/code] (the default), synchronizations happen every network process frame.
Node path that replicated properties are relative to.
If [member root_path] was spawned by a [MultiplayerSpawner], the node will be also be spawned and despawned based on this synchronizer visibility options.
Specifies when visibility filters are updated (see [enum VisibilityUpdateMode] for options).
Emitted when a new delta synchronization state is received by this synchronizer after the properties have been updated.
Emitted when a new synchronization state is received by this synchronizer after the properties have been updated.
Emitted when visibility of [param for_peer] is updated. See [method update_visibility].
Visibility filters are updated during process frames (see [constant Node.NOTIFICATION_INTERNAL_PROCESS]).
Visibility filters are updated during physics frames (see [constant Node.NOTIFICATION_INTERNAL_PHYSICS_PROCESS]).
Visibility filters are not updated automatically, and must be updated manually by calling [method update_visibility].