mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 21:22:48 +00:00
Better explanation for the replication interval and delta interval in the MultiplayerSynchronizer node
This commit is contained in:
parent
92e51fca72
commit
f72b841390
@ -53,7 +53,7 @@
|
|||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="delta_interval" type="float" setter="set_delta_interval" getter="get_delta_interval" default="0.0">
|
<member name="delta_interval" type="float" setter="set_delta_interval" getter="get_delta_interval" default="0.0">
|
||||||
Time interval between delta synchronizations. When set to [code]0.0[/code] (the default), delta synchronizations happen every network process frame.
|
Time interval between delta synchronizations. Used when the replication is set to [constant SceneReplicationConfig.REPLICATION_MODE_ON_CHANGE]. If set to [code]0.0[/code] (the default), delta synchronizations happen every network process frame.
|
||||||
</member>
|
</member>
|
||||||
<member name="public_visibility" type="bool" setter="set_visibility_public" getter="is_visibility_public" default="true">
|
<member name="public_visibility" type="bool" setter="set_visibility_public" getter="is_visibility_public" default="true">
|
||||||
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.
|
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.
|
||||||
@ -62,7 +62,7 @@
|
|||||||
Resource containing which properties to synchronize.
|
Resource containing which properties to synchronize.
|
||||||
</member>
|
</member>
|
||||||
<member name="replication_interval" type="float" setter="set_replication_interval" getter="get_replication_interval" default="0.0">
|
<member name="replication_interval" type="float" setter="set_replication_interval" getter="get_replication_interval" default="0.0">
|
||||||
Time interval between synchronizations. When set to [code]0.0[/code] (the default), synchronizations happen every network process frame.
|
Time interval between synchronizations. Used when the replication is set to [constant SceneReplicationConfig.REPLICATION_MODE_ALWAYS]. If set to [code]0.0[/code] (the default), synchronizations happen every network process frame.
|
||||||
</member>
|
</member>
|
||||||
<member name="root_path" type="NodePath" setter="set_root_path" getter="get_root_path" default="NodePath("..")">
|
<member name="root_path" type="NodePath" setter="set_root_path" getter="get_root_path" default="NodePath("..")">
|
||||||
Node path that replicated properties are relative to.
|
Node path that replicated properties are relative to.
|
||||||
|
Loading…
Reference in New Issue
Block a user