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 get triangles of a Static Mesh?

I am trying to get all the triangle's vertices on a static mesh.

Product Version: UE 4.9
more ▼

asked Nov 29 '15 at 02:19 AM in C++ Programming

avatar image

Mr. Mechanical
8 2 4 5

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

1 answer: sort voted first

UStaticMesh has varable called RenderData which is FStaticMeshRenderData


there is LODResources which contains mesh data for each LOD


In there you can access VertexData and so on and other stuff, dive in to API refrence ;]

No sure if you need to do somethign before accessing this date, maybe you need to call Build() in UStaticMesh. It's some breef info i dig out for you.

more ▼

answered Nov 29 '15 at 05:08 AM

avatar image

32.5k 915 162 1080

avatar image Mr. Mechanical Nov 29 '15 at 03:58 PM

Thanks a lot for responding! I really appreciate it!

avatar image Mr. Mechanical Nov 29 '15 at 04:02 PM

Unfortunately, I can't find anything in either link that tells me what vertices make up each triangle.

avatar image Burnrate Nov 09 '16 at 05:04 PM

Do you know how to expose the render data to cpu in a packaged build?

(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