Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionParameter
- UMaterialExpressionVectorParameter
- UMaterialExpressionChannelMaskParameter
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionVectorParameter.h |
| Include | #include "Materials/MaterialExpressionVectorParameter.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionVectorParameter : public UMaterialExpressionParameter
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseCustomPrimitiveData | ||
| FParameterChannelNames | ChannelNames | ||
| FLinearColor | DefaultValue | ||
| uint8 | PrimitiveDataIndex |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionVectorParameter
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| FParameterChannelNames | |||
| bool | |||
| 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 | |
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| bool | GetParameterValue
(
FMaterialParameterMetadata& OutMeta |
||
| bool | HasClassAndNameCollision
(
UMaterialExpression* OtherExpression |
||
| bool | SetParameterValue
(
const FName& Name, |
||
| void | ValidateParameterName
(
const bool bAllowDuplicateName |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |