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