Hello,
I would like to modify the UV of the StaticMesh component of the Omniverse USD via Python Code in UE4.
I simply need to
-
Unwrap UV with an Angle Threshold of 1.0

-
Apply a material
import unreal
def log():
shell_asset = unreal.load_asset('/Game/Omniverse/localhost/Users/helmreichmatthias/SendToView/Shell_Option_V2_210209_134655/Shell_Option_V2_210209_134655_project_usd.Shell_Option_V2_210209_134655_project')
unreal.log("loading usd: shell_asset")
unreal.log(shell_asset)
The UE for Log prints the following information. But its unclear to me how to access the static mesh component of the Omniverse USD via python. Is there a API Docu on the OmniverseUSD? The regular USD api docu of pixar shows different attributes.
LogPython: <Object '/Game/Omniverse/localhost/Users/helmreichmatthias/SendToView/Shell_Option_V2_210209_134655/Shell_Option_V2_210209_134655_project_usd.Shell_Option_V2_210209_134655_project' (0x0000022FA6B93200) Class 'OmniverseUSD'>
Thanks!
Matthias