FCorePhysicsEdgeOnStateChanged
FCorePhysicsEdgeOnStateChanged belongs to the CorePhysicsEdge runtime module.
Do nulla incididunt cillum enim eiusmod reprehenderit esse ipsum sint do aliqua nisi duis ex. Sed pariatur nulla magna adipiscing pariatur sit minim. Duis nostrud excepteur minim duis labore sint adipiscing. Tempor esse velit sit cillum ullamco consectetur esse excepteur commodo enim esse consequat do nulla.
Declaration
1UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
2class CORE_PHYSICS_EDGE_API UMyComponent : public UActorComponent
3{
4 GENERATED_BODY()
5
6public:
7 UMyComponent();
8
9 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Settings")
10 float UpdateInterval = 0.1f;
11
12 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Settings")
13 bool bAutoActivate = true;
14
15 UFUNCTION(BlueprintCallable, Category = "CorePhysicsEdge")
16 void SetConfiguration(const FMyConfig& Config);
17
18protected:
19 virtual void BeginPlay() override;
20 virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
21
22private:
23 FMyConfig CurrentConfig;
24 float TimeSinceLastUpdate = 0.0f;
25};
Members
| Parameter | Type | Default | Description |
|---|---|---|---|
| MaxPoolSize | int32 | 100 | Maximum number of pooled objects |
| TickRate | float | 60.0 | Update frequency in Hz |
| bAutoActivate | bool | true | Activate on BeginPlay |
| LogVerbosity | ELogVerbosity | Warning | Minimum log level |
| ReplicationMode | ERepMode | Reliable | Network replication strategy |