Hi,
I’m trying to access different LODs from a static mesh and edit its properties using C++.
For example. Set cast-shadow property only for LOD3 and LOD4.
I referred this link
https://forums.unrealengine.com/development-discussion/c-gameplay-programming/7509-accessing-vertex-positions-of-static-mesh?8856-Accessing-Vertex-Positions-of-static-mesh=
Tried using LODResources, LODGroup. Non gave me access to LOD properties I need.
I tried accessing the OwnerComponent using LODData, but for some reason it returns null.
CODE:
staticMeshComponent->LODData.Num() this returned 0.
I’m new to Unreal and C++ Kindly correct me if my approach is wrong.