Loading Material
asset
#261
-
I am not able to load my material instance as the only option I have is to load the material, is there an option to load an existing material instance? |
Beta Was this translation helpful? Give feedback.
Answered by
nxrighthere
Jun 28, 2022
Replies: 1 comment
-
Since you want to work with a material asset, you have to use
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nxrighthere
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since you want to work with a material asset, you have to use
Material
class for such purposes. Please, see this test.MaterialInstance
is an abstract class primarily used inMaterialInstanceDynamic
for the creation of dynamic materials where you can set a scalar, vector, or texture parameter that can be loaded from disk or created from an image asset or a buffer. Please, see this test.