Get / Set Editor Properties
Getting and Setting the Properties on an asset
Last updated
Getting and Setting the Properties on an asset
Last updated
For Blueprint Assets in the Content Browser, not everything is directly available on the results of unreal.load_asset()
. With the asset loaded from the Content Browser we can really only set its parent class properties that are listed on the UE Python Docs:
For properties added in the Blueprint Editor we will either need the Class Default Object or an instance of it:
With an appropriate asset instance we can use the following code to read the desired property:
When setting property values we have two options
Note: Read-Only properties do exist in Unreal, if a property doesn't appear to set correctly in Python it could be Read-Only