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 use depth priority when debug drawing in c++?

For example DrawDebugDirectionalArrow() takes a DepthPriority as a parameter, but I don't know how to use it. When I give 1 or (uint8)('\001') it does not appear on the screen ; and when I give (uint8)('\002') or greater I can see it but not in front of other objects (same as with the default value (uint8)('\000')).

How can I have my debug drawings in front of anything else?

Product Version: UE 4.8
Tags:
more ▼

asked Sep 04 '15 at 10:01 AM in C++ Programming

avatar image

Arthur Masson
294 36 44 61

avatar image darkZ Mar 05 '16 at 09:10 PM

Have you managed to figure this out yet ?

avatar image Arthur Masson Mar 06 '16 at 08:51 PM

nope :-/ ...

avatar image huulong Aug 22 '17 at 01:57 PM

Have you tried SDPG_Foreground and SDPG_MAX from ESceneDepthPriorityGroup? (API) Inspecting DrawDebugHelpers.cpp makes me think they are the original enum values. That said, SDPG_Foreground should be equal to 1 and SDPG_MAX to 2, so it may give the same results...

avatar image Divistri Jul 19 '18 at 09:10 PM

This gives the same results for me in 4.19.

Has depth priority for debug drawing been nonfunctional for almost 3 years?

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

0 answers: sort voted first
Be the first one to answer this question
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