UE4 에디터에서 블루프린트의 컴포넌트 탭에서 추가할 수 있는 목록에 커스텀 컴포넌트를 추가하려면 아래와 같이 BlueprintSpawnableCompoent 를 명시해 주면 된다.


UCLASS(ClassGroup=Movement, meta=(BlueprintSpawnableComponent), ShowCategories=(Velocity))

class ENGINE_API UProjectileMovementComponent : public UMovementComponent

{

}


URL : https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Metadata/BlueprintSpawnableComponent/index.html

728x90

+ Recent posts