This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| https://forums.unrealengine.com/t/ramas-extra-blueprint-nodes-for-ue5-no-c-required/231476 | |
| */ | |
| ... | |
| /** | |
| I highly recommend that your Texture Render Target Format be "RTF RGB8 SRGB" both so it is compatible, and so it looks the same as in-game | |
| <3 Rama. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Header | |
| class 당신의 클래스 이름 : public UObject | |
| { | |
| //여기서 원하는 BP는 "C++로 정의한 클래스"를 상속 받은 BP여야 한다. | |
| UPROPERTY(EditAnywhere) | |
| TSubclassOf<C++로 정의한 클래스> ActorBPClass1; | |
| } | |
| //Cpp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| struct FLinearColor | |
| { | |
| union | |
| { | |
| struct | |
| { float R, G, B, A; }; | |
| }; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // =================================================================================================== | |
| // 최초 Widget 초기화 | |
| [WBP_MyListEntry_C_0] [Entry] [Construct] : | |
| [WBP_MyListEntry_C_0] [Entry] [Event On List Item Object Set] : 0 | |
| [WBP_Panel_C_0] [ListView] [On Entry Initialized] : 0 | |
| [WBP_MyListEntry_C_1] [Entry] [Construct] : | |
| [WBP_MyListEntry_C_1] [Entry] [Event On List Item Object Set] : 1 | |
| [WBP_Panel_C_0] [ListView] [On Entry Initialized] : 1 | |
| [WBP_MyListEntry_C_2] [Entry] [Construct] : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // (C++, 시작프로젝트를 포함하여) 새로 생성한 프로젝트에 있는 AGameModeBase 클래스 코드에서 진행 | |
| FString FixPathSeparatorsToWinStyle(const FString& InPath) | |
| { | |
| return InPath.Replace(TEXT("/"), TEXT("\\")); | |
| } | |
| void AReleaseTest53GameMode::BeginPlay() | |
| { | |
| Super::BeginPlay(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //H | |
| UCLASS() | |
| class AMyActor : public AActor | |
| { | |
| GENERATED_BODY() | |
| public: | |
| AMyActor(const FObjectInitializer& ObjectInitializer); | |
| UPROPERTY() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Character (SkeletalMesh)에 UGroomComponent 생성 예시 | |
| /** | |
| * 생성자 내부 | |
| */ | |
| MyCharacter::MyCharacter() | |
| { | |
| //캐릭터 메시 | |
| USkeletalMeshComponent* CharMesh = GetMesh(); | |