Creating a code component class and marking the UCLASS() macro with meta=(BlueprintSpawnableComponent) does not allow the component to be used inside blueprints.
Workaround:
Adding ClassGroup=( [GroupName]) will make the component show up under the given group name.
1. Open UE4Editor (any 4.7 project)
2. Add code to project based on StaticMeshComponent (NewMeshComponent)
3. In Visual Studio add meta=(BlueprintSpawnableComponent) to the UClass() macro
4. Compile
5. Create new blueprint based on Actor and open it
6. In the Viewport tab, click on Add Component to open the component list
7. Search for NewMesh
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.7.2 |
Target Fix | 4.8 |
Fix Commit | 2484955 |
---|
Created | Mar 5, 2015 |
---|---|
Resolved | Mar 19, 2015 |
Updated | Apr 27, 2018 |