Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterial
- FMaterial::CompilePropertyAndSetMaterialProperty()
- FMaterialResource::CompilePropertyAndSetMaterialProperty()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include | #include "MaterialShared.h" |
int32 CompilePropertyAndSetMaterialProperty
&40;
EMaterialProperty Property,
class FMaterialCompiler &42; Compiler,
EShaderFrequency OverrideShaderFrequency,
bool bUsePreviousFrameTime
&41; const
Remarks
Entry point for compiling a specific material property. This must call SetMaterialProperty. cases to the proper type e.g. Compiler->ForceCast(Ret, GetValueType(Property));
Parameters
| Name | Description |
|---|---|
| OverrideShaderFrequency | SF_NumFrequencies to not override |