Navigation
API > API/Developer > API/Developer/DatasmithFacade
| Name | FDatasmithFacadeMaterialExpressionColor |
| Type | class |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithFacade/Public/DatasmithFacadeUEPbrMaterial.h |
| Include Path | #include "DatasmithFacadeUEPbrMaterial.h" |
Syntax
class FDatasmithFacadeMaterialExpressionColor :
public FDatasmithFacadeMaterialExpression ,
public FDatasmithFacadeExpressionParameter
Inheritance Hierarchy
- FDatasmithFacadeExpressionParameter → FDatasmithFacadeMaterialExpressionColor
- FDatasmithFacadeMaterialExpression → FDatasmithFacadeMaterialExpressionColor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithFacadeMaterialExpressionColor
(
IDatasmithMaterialExpression* InMaterialExpression, |
DatasmithFacadeUEPbrMaterial.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetColor
(
float& OutR, |
Get the color value of the expression in a linear format with values between 0 and 1. | DatasmithFacadeUEPbrMaterial.h | |
void GetsRGBColor
(
uint8& OutR, |
Get the color value of the expression in a sRGB format | DatasmithFacadeUEPbrMaterial.h | |
void SetColor
(
float R, |
Set the color value of the expression in a linear format with values between 0 and 1. | DatasmithFacadeUEPbrMaterial.h | |
void SetsRGBColor
(
uint8 R, |
Set the color value of the expression in a sRGB format | DatasmithFacadeUEPbrMaterial.h |
Overridden from FDatasmithFacadeExpressionParameter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const TCHAR * GetGroupName() |
DatasmithFacadeUEPbrMaterial.h | ||
virtual void SetGroupName
(
const TCHAR* InGroupName |
DatasmithFacadeUEPbrMaterial.h |