9 #include "GameFramework/Actor.h" 11 #include "ActorWithRandomEngine.generated.h" 27 virtual void OnConstruction(
const FTransform &
Transform)
override;
30 virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
override;
35 UFUNCTION(BlueprintCallable)
41 UFUNCTION(BlueprintCallable)
47 UFUNCTION(BlueprintCallable)
48 void SetSeed(int32 InSeed);
53 UPROPERTY(Category =
"Random Engine", EditAnywhere)
54 bool bGenerateRandomSeed = false;
57 UPROPERTY(Category = "Random
Engine", EditAnywhere)
Base class for actors containing a random engine with a fixed seed.
void Seed(int32 InSeed)
Seed the random engine.
geom::Transform Transform