Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionCosine |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionCosine.h |
| Include Path | #include "Materials/MaterialExpressionCosine.h" |
Syntax
UCLASS (MinimalAPI, CollapseCategories, HideCategories=Object)
class UMaterialExpressionCosine : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionCosine
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Input | FExpressionInput | Materials/MaterialExpressionCosine.h | ||
| Period | float | Materials/MaterialExpressionCosine.h |
|
Functions
Public
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionCosine.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionCosine.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionCosine.h | ||
virtual FText GetKeywords() |
Returns the keywords that should be used when searching for this expression | Materials/MaterialExpressionCosine.h |