95 UPROPERTY(config, EditDefaultsOnly, Category =
"Replication", Meta = (InlineEditConditionToggle))
96 bool bEnableResimulationErrorPositionThreshold;
99 UPROPERTY(EditAnywhere, Category = "Replication", meta = (
editcondition = "bEnableResimulationErrorPositionThreshold"))
100 float ResimulationErrorPositionThreshold;
103 UPROPERTY(config, EditDefaultsOnly, Category = "Replication", Meta = (InlineEditConditionToggle))
104 bool bEnableResimulationErrorRotationThreshold;
107 UPROPERTY(EditAnywhere, Category = "Replication", meta = (
editcondition = "bEnableResimulationErrorRotationThreshold"))
108 float ResimulationErrorRotationThreshold;
111 UPROPERTY(config, EditDefaultsOnly, Category = "Replication", Meta = (InlineEditConditionToggle))
112 bool bEnableResimulationErrorLinearVelocityThreshold;
115 UPROPERTY(EditAnywhere, Category = "Replication", meta = (
editcondition = "bEnableResimulationErrorLinearVelocityThreshold"))
116 float ResimulationErrorLinearVelocityThreshold;
119 UPROPERTY(config, EditDefaultsOnly, Category = "Replication", Meta = (InlineEditConditionToggle))
120 bool bEnableResimulationErrorAngularVelocityThreshold;
123 UPROPERTY(EditAnywhere, Category = "Replication", meta = (
editcondition = "bEnableResimulationErrorAngularVelocityThreshold"))
124 float ResimulationErrorAngularVelocityThreshold;
127 : bEnableResimulationErrorPositionThreshold(
true)
128 , ResimulationErrorPositionThreshold(10.0f)
129 , bEnableResimulationErrorRotationThreshold(
true)
130 , ResimulationErrorRotationThreshold(4.0f)
131 , bEnableResimulationErrorLinearVelocityThreshold(
false)
132 , ResimulationErrorLinearVelocityThreshold(5.0f)
133 , bEnableResimulationErrorAngularVelocityThreshold(
false)
134 , ResimulationErrorAngularVelocityThreshold(2.0f)
145 UPROPERTY(config, EditDefaultsOnly, Category =
"Replication")
146 bool bEnablePhysicsReplicationLOD;
149 UPROPERTY(EditAnywhere, Category = "Replication", meta = (ClampMin = "0.0", UIMin = "0.0"))
150 float MinimumBaseDistance;
153 UPROPERTY(EditAnywhere, Category = "Replication", meta = (ClampMin = "0.0", UIMin = "0.0"))
154 float BaseDistanceRadiusMultiplier;
160 UPROPERTY(EditAnywhere, Category = "Replication", meta = (ClampMin = "0.0", UIMin = "0.0"))
161 float BaseDistancesForResimulationMode;
169 UPROPERTY(EditAnywhere, Category = "Replication", meta = (ClampMin = "0.0", UIMin = "0.0"))
170 float BaseDistancesForFullPrediction;
178 UPROPERTY(EditAnywhere, Category = "Replication", meta = (ClampMin = "0.0", UIMin = "0.0"))
179 float TimeOverDistance;
182 : bEnablePhysicsReplicationLOD(
false)
183 , MinimumBaseDistance(200.0f)
184 , BaseDistanceRadiusMultiplier(0.75f)
185 , BaseDistancesForResimulationMode(0.25f)
186 , BaseDistancesForFullPrediction(0.8f)
187 , TimeOverDistance(0.15f)
199 bool bEnablePhysicsResimulation_DEPRECATED;
203 float ResimulationErrorThreshold_DEPRECATED;
209 UPROPERTY(EditAnywhere, Category = "Replication")
210 bool bEnablePhysicsPrediction;
215 UPROPERTY(EditAnywhere, Category = "Replication")
216 bool bEnablePhysicsHistoryCapture;
219 UPROPERTY(EditAnywhere, Category = "Replication")
220 float MaxSupportedLatencyPrediction;
231 : bEnablePhysicsResimulation_DEPRECATED(
false)
232 , ResimulationErrorThreshold_DEPRECATED(10.0f)
233 , bEnablePhysicsPrediction(
false)
234 , bEnablePhysicsHistoryCapture(
false)
235 , MaxSupportedLatencyPrediction(1000)
266 UPROPERTY(Config, EditAnywhere, Category = Replication, meta = (DisplayName =
"Physics Prediction (Experimental)"))
270 UPROPERTY(config, EditAnywhere, Category = Replication, meta = (DisplayName =
"Default Physics Replication Settings (EPhysicsReplicationMode::Default)"))
283 bool bSuppressFaceRemapTable;
287 bool bSupportUVFromHitResults;
292 bool bDisableActiveActors;
296 bool bDisableKinematicStaticPairs;
300 bool bDisableKinematicKinematicPairs;
308 UPROPERTY(config, EditAnywhere, meta = (ClampMin =
"0.0", UIMin =
"0.0", ClampMax =
"1.0", UIMax =
"1.0"), Category =
Framerate)
309 float AnimPhysicsMinDeltaTime;
313 bool bSimulateAnimPhysicsAfterReset;
316 UPROPERTY(config, EditAnywhere, meta = (ClampMin =
"0.0", UIMin =
"0.0", ClampMax =
"0.0001", UIMax =
"0.0001"), Category =
Framerate)
317 float MinPhysicsDeltaTime;
320 UPROPERTY(config, EditAnywhere, meta=(ClampMin=
"0.0013", UIMin =
"0.0013", ClampMax=
"1.0", UIMax=
"1.0"), Category=
Framerate)
321 float MaxPhysicsDeltaTime;
329 bool bSubsteppingAsync;
333 bool bTickPhysicsAsync;
337 float AsyncFixedTimeStepSize;
340 UPROPERTY(config, EditAnywhere, meta = (ClampMin =
"0.0013", UIMin =
"0.0013", ClampMax =
"1.0", UIMax =
"1.0",
editcondition =
"bSubStepping"), Category=
Framerate)
341 float MaxSubstepDeltaTime;
344 UPROPERTY(config, EditAnywhere, meta = (ClampMin =
"1", UIMin =
"1", ClampMax =
"16", UIMax =
"16",
editcondition =
"bSubstepping"), Category=
Framerate)
348 UPROPERTY(config, EditAnywhere, AdvancedDisplay, meta = (ClampMin =
"0.0", UIMin =
"0.0", ClampMax =
"1.0", UIMax =
"1.0"), Category =
Framerate)
349 float SyncSceneSmoothingFactor;
352 UPROPERTY(config, EditAnywhere, AdvancedDisplay, meta = (ClampMin =
"0.0013", UIMin =
"0.0013", ClampMax =
"1.0", UIMax =
"1.0"), Category =
Framerate)
353 float InitialAverageFrameRate;
356 UPROPERTY(config, EditAnywhere, AdvancedDisplay, meta = (ClampMin =
"4", UIMin =
"4"), Category =
Framerate)
357 int PhysXTreeRebuildRate;
360 UPROPERTY(config, EditAnywhere, Category=PhysicalSurfaces)
364 UPROPERTY(config, EditAnywhere, Category = Broadphase)
369 float MinDeltaVelocityForHitEvents;
379 UFUNCTION(BlueprintCallable, Category =
"Physics")
380 int32 GetPhysicsHistoryCount()
const
382 return FMath::Max<int32>(1, FMath::CeilToInt(0.001f *
PhysicsPrediction.MaxSupportedLatencyPrediction / AsyncFixedTimeStepSize));
385 ENGINE_API virtual void PostInitProperties()
override;
Definition EngineTypes.h:1719