20tab / UnrealEnginePython

Embed Python in Unreal Engine 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GetNumVertices in StaticMesh is missing

bbbchs opened this issue · comments

Hi!
I need to get number of vertices from static mesh.
There is a C++ method called GetNumVertices. But I can't find it in sm.functions()
I tried call it like sm.call_function('GetNumVertices', 0) but got an exception
"Exception: unable to find function"

Is there a way to call methods from C++ API that are not exposed?

Best regards

The same goes to UMaterial::GetUsedTextures
Is it possible to call it from Python without exposing it through C++ to Python manually?