Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionParameter
- UMaterialExpressionStaticBoolParameter
- UMaterialExpressionStaticSwitchParameter
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionStaticBoolParameter.h |
| Include | #include "Materials/MaterialExpressionStaticBoolParameter.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionStaticBoolParameter : public UMaterialExpressionParameter
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | DefaultValue | ||
| uint32: 1 | DynamicBranch | Change Parameter from "static bool" to (dynamic) bool type which enables it to be used with dynamic branching |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionStaticBoolParameter
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | SetParameterValue
(
FName InParameterName, |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| int32 | CompilePreview
(
FMaterialCompiler* Compiler, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| uint32 | GetOutputType
(
int32 OutputIndex |
||
| bool | GetParameterValue
(
FMaterialParameterMetadata& OutMeta |
||
| bool | SetParameterValue
(
const FName& Name, |