[UE4]Material Formulas and Functions Notes
keywords: Material, Formula, Function, Expression
Create Dynamic Material Instance
1st way:
UMaterialInstanceDynamic* UPrimitiveComponent::CreateDynamicMaterialInstance(int32 ElementIndex, class UMaterialInterface* SourceMaterial, FName OptionalName)
2nd way:
UMaterialInstanceDynamic* UKismetMaterialLibrary::CreateDynamicMaterialInstance(UObject* WorldContextObject, class UMaterialInterface* Parent, FName OptionalName)
Material Expressions
SphereMask
Camera Vector
Engine’s Material Functions
RadialGradientExponential
CustomRotator
Offical Docs
Material Expression Reference
https://docs.unrealengine.com/en-US/Engine/Rendering/Materials/ExpressionReference/index.html
Utility Expressions
https://docs.unrealengine.com/en-US/Engine/Rendering/Materials/ExpressionReference/Utility/index.html
回忆,是一种内心的谣言。──斯蒂芬·金(Stephen Edwin King)《杜马岛》