learning unreal is really frustrating as there lacks documents and examples.
I want to create a UMaterial and assign a procedural texture map to it. but I can’t figure out how.
I don’t know, for example, how to write its constructor.
I have seen example for AActor class:
AActor(const class FPostConstructInitializeProperties& PCIP)
and for UGeneratedMeshComponent
UGeneratedMeshComponent(const FObjectInitializer& Initializer)
As you can see, they use different inputs. but what about UMaterial? there is simply no clue in the document. I even checked the engine source code, I can’t find anything!
how to assign texture map to a material is also mystery.
could you please show me an example?
Thanks