| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionFunctionInput.h |
Include |
#include "Materials/MaterialExpressionFunctionInput.h" |
class UMaterialExpressionFunctionInput : public UMaterialExpression
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bCompilingFunctionPreview |
True when this expression is being compiled in a function preview, false when this expression is being compiled into a material that uses the function. |
|
uint32: 1 |
bUsePreviewValueAsDefault |
Whether to use the preview value or texture as the default value for this input. |
|
Description |
The input's description, which will be used as a tooltip on the connector in function call expressions that use this function. |
|
|
EffectivePreviewDuringCompile |
The Preview input to use during compilation from another material, when bCompilingFunctionPreview is false. |
|
|
Id |
Id of this input, used to maintain references through name changes. |
|
|
InputName |
The input's name, which will be drawn on the connector in function call expressions that use this function. |
|
|
TEnumAsByte< en... |
InputType |
Type of this input. |
|
Preview |
Used for previewing when editing the function, or when bUsePreviewValueAsDefault is enabled. |
|
|
PreviewValue |
Value used to preview this input when editing the material function. |
|
|
SortPriority |
Controls where the input is displayed relative to the other inputs. |
Name | Description | |
---|---|---|
|
UMaterialExpressionFunctionInput ( |
Name | Description | ||
---|---|---|---|
|
ConditionallyGenerateId ( |
Generate the Id for this input. |
|
|
UMaterialExp... |
GetEffectivePreviewExpression() |
Returns the appropriate preview expression when compiling a function or material preview. |
|
ValidateName() |
Validate InputName. Must be called after InputName is changed to prevent duplicate inputs. |
Name | Description | ||
---|---|---|---|
|
Compile ( |
Create the new shader code chunk needed for the Abs expression |
|
|
CompilePreview ( |
||
|
GetCaption |
Returns the text to display on the material expression (in the material editor). |
|
|
GetExpressionToolTip |
Get a tooltip for the expression itself. |
|
|
GetInputType ( |
||
|
GetOutputType ( |
||
|
IsResultMaterialAttributes ( |
Marks certain expression types as outputting material attributes. |
Name | Description | ||
---|---|---|---|
|
PostDuplicate ( |
Called after duplication & serialization and before PostLoad. |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostEditImport() |
Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
PreEditChange ( |
This is called when a property is about to be modified externally |