UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ParticleModuleVelocityCone.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3
4#pragma once
5
6#include "CoreMinimal.h"
10#include "ParticleModuleVelocityCone.generated.h"
11
13
14UCLASS(editinlinenew, hidecategories=Object, MinimalAPI, meta=( DisplayName = "Velocity Cone" ))
16{
18
19
20 UPROPERTY(EditAnywhere, Category=Cone)
22
24 UPROPERTY(EditAnywhere, Category=Cone)
26
28 UPROPERTY(EditAnywhere, Category=Cone)
29 FVector Direction;
30
32 void InitializeDefaults();
33
34 //~ Begin UObject Interface
35#if WITH_EDITOR
36 virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
37#endif // WITH_EDITOR
38 virtual void PostInitProperties() override;
39 //~ End UObject Interface
40
41 //~ Begin UParticleModule Interface
42 virtual void Spawn(const FSpawnContext& Context) override;
43 virtual void Render3DPreview(const FPreviewContext& Context) override;
44 //~ Begin UParticleModule Interface
45
54 void SpawnEx(const FSpawnContext& Context, struct FRandomStream* InRandomStream);
55
56};
57
58
59
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition ParticleModuleVelocityBase.h:13
Definition ParticleModuleVelocityCone.h:16
Definition ParticleEmitterInstances.h:226
Definition UnrealType.h:6865
Definition RandomStream.h:20
Definition DistributionFloat.h:28