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 outline an actor in editor like click on it?

Hello,

I'm trying to manage actors which are stored in an array. When I click on one of them, others should also be outlined. Meanwhile they can be edited separately.

The effect should like clicking on an actor in editor. I guess there's some API doing this but I can't find out.

I don't want to add object to the scene, so I'm keeping out of using Post Processing or an additional mesh.

Thanks for any suggestion.

Deen_Shiu

Product Version: UE 4.18
Tags:
more ▼

asked Apr 30 '18 at 07:07 AM in C++ Programming

avatar image

deen_shiu
6 4 3 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

You can use the materials on your objects to create an outline effect. There are a few posts around the answerHub/forums about this. Here is a useful one: https://forums.unrealengine.com/development-discussion/rendering/11146-material-for-orange-outlines-on-selected-actor

more ▼

answered Apr 30 '18 at 10:54 AM

avatar image

Dune
1.9k 53 40 200

avatar image deen_shiu May 02 '18 at 06:15 AM

Hello, Dune.

The final solution in this post is using post process. However I need to achieve this without post process.

The reason I avoid to use post process is because what I'm doing is editor only. The outline effect shouldn't be in game.

While there might be other effect be done with post process. I don't want my editor-only effect mixed with in-game effect.

Thanks for reply. I'll keep looking for solution.

Deen_Shiu

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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