Navigation
API > API/Runtime > API/Runtime/DatasmithCore
| Name | IDatasmithCompositeTexture |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
| Include Path | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithCompositeTexture
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDatasmithCompositeTexture() |
IDatasmithSceneElements.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ParamVal | TPair< float, const TCHAR * > | IDatasmithSceneElements.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMaskSurface
(
const TCHAR* InMask, |
Adds a new layer mask from its filename | IDatasmithSceneElements.h | |
void AddMaskSurface
(
const FLinearColor& Color |
Creates a new surface to be used as mask that will be used as layer inside this composite using a color in linear space. | IDatasmithSceneElements.h | |
void AddMaskSurface
(
const TSharedPtr< IDatasmithCompositeTexture >& MaskSubComp |
Adds a new composite texture inside this composite used as layer mask | IDatasmithSceneElements.h | |
void AddParamVal1
(
ParamVal InParamVal |
Add a new Value1 parameter | IDatasmithSceneElements.h | |
void AddParamVal2
(
ParamVal InParamVal |
Add a new Value2 parameter | IDatasmithSceneElements.h | |
void AddSurface
(
const TSharedPtr< IDatasmithCompositeTexture >& SubComp |
Adds a new nested composite texture | IDatasmithSceneElements.h | |
void AddSurface
(
const FLinearColor& Color |
Creates a new surface that will be used as layer inside this composite using a color in linear space. | IDatasmithSceneElements.h | |
void AddSurface
(
const TCHAR* Texture, |
Creates a new surface that will be used as layer inside this composite using the texture filename and its uv element. | IDatasmithSceneElements.h | |
void ClearSurface() |
Purges all the surfaces that could be used as layers inside this composite. | IDatasmithSceneElements.h | |
const TCHAR * GetBaseColName() |
Returns the string that identifies the color element | IDatasmithSceneElements.h | |
const TCHAR * GetBaseCompName() |
Returns the string that identifies the composite element | IDatasmithSceneElements.h | |
const TCHAR * GetBaseTextureName() |
Returns the string that identifies the texture element | IDatasmithSceneElements.h | |
const TCHAR * GetBaseValName() |
Returns the string that identifies the value element | IDatasmithSceneElements.h | |
bool GetMaskUseComposite
(
int32 i |
Returns true if composite texture mask should be used | IDatasmithSceneElements.h | |
EDatasmithCompMode GetMode() |
Gets the composition mode like color correction etc | IDatasmithSceneElements.h | |
const FLinearColor & GetParamColor
(
int32 i |
Get the i-th color in linear space | IDatasmithSceneElements.h | |
const TCHAR * GetParamMask
(
int32 i |
Get the i-th layer mask's filename | IDatasmithSceneElements.h | |
const FLinearColor & GetParamMaskColor
(
int32 i |
Get the i-th color in linear space | IDatasmithSceneElements.h | |
TSharedPtr< IDatasmithCompositeTexture > & GetParamMaskSubComposite
(
int32 i |
Get the ith composite texture inside this composite used as layer mask | IDatasmithSceneElements.h | |
int32 GetParamMaskSurfacesCount() |
Get the amount of layer masks | IDatasmithSceneElements.h | |
FDatasmithTextureSampler GetParamMaskTextureSampler
(
int32 i |
Get the ith layer mask's uv element | IDatasmithSceneElements.h | |
TSharedPtr< IDatasmithCompositeTexture > & GetParamSubComposite
(
int32 i |
Get the i-th nested composite texture | IDatasmithSceneElements.h | |
int32 GetParamSurfacesCount() |
Get the number of surfaces. | IDatasmithSceneElements.h | |
const TCHAR * GetParamTexture
(
int32 i |
Get the filename of the i-th texture | IDatasmithSceneElements.h | |
FDatasmithTextureSampler & GetParamTextureSampler
(
int32 i |
Get the i-th uv element | IDatasmithSceneElements.h | |
ParamVal GetParamVal1
(
int32 i |
Get the i-th Value1 parameter | IDatasmithSceneElements.h | |
int32 GetParamVal1Count () |
Get the number of value1 parameters. | IDatasmithSceneElements.h | |
ParamVal GetParamVal2
(
int32 i |
Get the Value2 parameter | IDatasmithSceneElements.h | |
int32 GetParamVal2Count () |
Get the number of value2 parameters. | IDatasmithSceneElements.h | |
bool GetUseColor
(
int32 i |
Gets color usage. If true color is used, else a value is used. | IDatasmithSceneElements.h | |
bool GetUseComposite
(
int32 i |
Returns true if composite texture should be used | IDatasmithSceneElements.h | |
bool GetUseTexture
(
int32 i |
Gets texture usage. If it returns false you should use a value or a color checking GetUseColor(i). | IDatasmithSceneElements.h | |
bool IsValid () |
Gets the validity of the composite texture. | IDatasmithSceneElements.h | |
void SetBaseNames
(
const TCHAR* InTextureName, |
Sets the strings that identifies the different elements on this composite | IDatasmithSceneElements.h | |
void SetMode
(
EDatasmithCompMode Mode |
Sets the composition mode like color correction etc | IDatasmithSceneElements.h | |
void SetParamTexture
(
int32 InIndex, |
Sets the new texture for the index-th item | IDatasmithSceneElements.h |