x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to access Sprites plugin?

How to access UPaper2DSprite and UPaper2DComponent classes from Visual Studio in my UE4 project?

Product Version: Not Selected
Tags:
more ▼

asked May 09 '15 at 12:10 PM in C++ Programming

avatar image

Volchonok
14 7 5 8

avatar image Volchonok May 10 '15 at 03:50 PM

как блять!?

(comments are locked)
10|2000 characters needed characters left

4 answers: sort voted first

Please make sure thay you've added the header file:

 #include "PaperSprite.h"
more ▼

answered May 11 '15 at 10:31 AM

avatar image

Andrii Melnyk
1.8k 59 18 111

avatar image Volchonok May 11 '15 at 11:51 AM

i am added NMake paths in properties of project and PAPER2D_API manually in MyProject.vcxproj . and problem is dissapear ^_^

(comments are locked)
10|2000 characters needed characters left

Hello, Volchonok

To access Paper Sprite, Paper Flipbook and other Paper2D classes please go to Plugins/2D/Paper2D/Classes.

Also, please don't forget that in order to use Paper2D, appropriate module should be added to Build.cs file of your project (YourProject/Source/YourProject/YourProject.Build.cs):

 PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "Paper2D" });

If you like to learn more about Paper 2D Components, please go here: https://docs.unrealengine.com/latest/INT/Engine/Components/Paper2D/index.html

Hope this helped!

Good luck!

more ▼

answered May 11 '15 at 09:09 AM

avatar image

Andrii Melnyk
1.8k 59 18 111

avatar image Volchonok May 11 '15 at 09:24 AM

i add "Paper2D" in PublicDependencyModuleNames in MyProject.Build.cs, but does not work...alt text

(comments are locked)
10|2000 characters needed characters left

Please note, that if IntelliSense is enabled in Visual Studio, there is a possibility of false-positive errors of this kind. However, you should be able to compile your project successfully.

If you like to learn more about setting up Visual Studio 2013 for UE4, please go here: https://docs.unrealengine.com/latest/INT/Programming/Development/VisualStudioSetup/index.html

more ▼

answered May 11 '15 at 09:38 AM

avatar image

Andrii Melnyk
1.8k 59 18 111

avatar image Volchonok May 11 '15 at 09:50 AM

not successfully!!!

(comments are locked)
10|2000 characters needed characters left

In your xxx.Build.cs, you need to add Paper2D as a dependency.

 PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "Paper2D" });
more ▼

answered May 14 '18 at 10:41 PM

avatar image

Horny-Squirrel
6 1 1

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question