Announcement

Collapse
No announcement yet.

Loading assets in runtime with Asset Registry

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Loading assets in runtime with Asset Registry

    I had success finding and loading assets in runtime with Asset Registry module, for Materials I used the "Material" class name as input, for static meshes: "StaticMesh"
    However... when I tried to load material instances "MaterialInstance" didnt work, "Texture" for textures wont work too

    What are the classes names that should be used for those cases? THANKS!

    Click image for larger version  Name:	Captura.JPG Views:	3 Size:	21.7 KB ID:	1354438
    Last edited by osakaro; 09-16-2017, 11:26 AM.

    #2
    I found it, posting this in case someone else need it, for material instances MaterialInstanceConstant
    and for textures Texture2D
    Last edited by osakaro; 09-16-2017, 11:26 AM.

    Comment


      #3
      for knowing the names of class - just right click on the asset, the name after word "open" and before ".h" - it's class name (Texture2D in this case)
      Igor, swamper, sole proprietorship

      Comment


        #4
        Originally posted by 6r0m View Post
        for knowing the names of class - just right click on the asset, the name after word "open" and before ".h" - it's class name (Texture2D in this case)
        thanks for taking your time.

        Comment

        Working...
        X