Navigation
API > API/Editor > API/Editor/UnrealEd
Lightweight flyweight UObject that wraps a UE::Shader::EValueType. One singleton instance per EValueType value, stored in PinType.PinSubCategoryObject to carry shader value type information without modifying PinCategory or PinSubCategory. Used by the new material translator to drive pin and wire coloring.
Owned by UMaterialShaderValueTypeSubsystem, whose lifetime is tied to GEditor.
| Name | UMaterialShaderValueTypeObject |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialShaderValueTypeObject.h |
| Include Path | #include "MaterialGraph/MaterialShaderValueTypeObject.h" |
Syntax
UCLASS (MinimalAPI, Transient)
class UMaterialShaderValueTypeObject : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialShaderValueTypeObject
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ValueType | UE::Shader::EValueType | MaterialGraph/MaterialShaderValueTypeObject.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UMaterialShaderValueTypeObject * Get
(
UE::Shader::EValueType InType |
Get or create the flyweight singleton for a given EValueType. | MaterialGraph/MaterialShaderValueTypeObject.h |