Navigation
API > API/Runtime > API/Runtime/DatasmithCore
Inheritance Hierarchy
- ISceneGraphNode
- IDatasmithElement
- IDatasmithShaderElement
References
| Module | DatasmithCore |
| Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
| Include | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithShaderElement : public IDatasmithElement
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| EDatasmithBlendMode | GetBlendMode () |
Get the blending mode. It only has effect on multilayered materials and all the layers but layer 0. | |
| double | Get the bump/normal amount | ||
| const TSharedPtr< IDatasmithCompositeTexture > & | GetBumpComp () |
Get the bumpmapping compound map | |
| TSharedPtr< IDatasmithCompositeTexture > & | GetBumpComp () |
Get the bumpmapping compound map | |
| const TCHAR * | Get the bumpmapping filename | ||
| FDatasmithTextureSampler | Get the bumpmapping UV coordinates | ||
| FDatasmithTextureSampler | Get the diffuse UV coordinates | ||
| FLinearColor | Get the diffuse color in linear space | ||
| const TSharedPtr< IDatasmithCompositeTexture > & | Get the diffuse compound map | ||
| TSharedPtr< IDatasmithCompositeTexture > & | Get the diffuse compound map | ||
| const TCHAR * | Get the diffuse filename | ||
| FLinearColor | GetEmitColor () |
Get the emittance color in linear space | |
| const TSharedPtr< IDatasmithCompositeTexture > & | GetEmitComp () |
Get the emittance compound map | |
| TSharedPtr< IDatasmithCompositeTexture > & | GetEmitComp () |
Get the emittance compound map | |
| double | GetEmitPower () |
Get the emittance power in lumens | |
| double | Get the emittance temperature color | ||
| const TCHAR * | Get the emittance filename | ||
| FDatasmithTextureSampler | Get the emittance UV coordinates | ||
| double | GetIOR () |
Get the Ior N value, usually Ior K is set to 0 so this will control the entire reflection fresnel effect | |
| double | GetIORk () |
Get the Ior K effect, this is used for more advanced representations of the reflection fresnel effect | |
| double | GetIORRefra () |
Get the InIndex of Refraction value | |
| bool | Get the if this layer is weighted as a stack. | ||
| bool | GetLightOnly () |
Gets material is used as lighting only. | |
| const TSharedPtr< IDatasmithCompositeTexture > & | GetMaskComp () |
Get the opacity mask compound map | |
| TSharedPtr< IDatasmithCompositeTexture > & | GetMaskComp () |
Get the opacity mask compound map | |
| const TCHAR * | Get the opacity mask filename | ||
| FDatasmithTextureSampler | Get the opacity mask UV coordinates | ||
| double | GetMetal () |
Get the metalness value | |
| const TSharedPtr< IDatasmithCompositeTexture > & | GetMetalComp () |
Get the metalness compound map | |
| TSharedPtr< IDatasmithCompositeTexture > & | GetMetalComp () |
Get the metalness compound map | |
| const TCHAR * | Get the metalness filename | ||
| FDatasmithTextureSampler | Get the metalness UV coordinates | ||
| TSharedPtr< IDatasmithCompositeTexture > & | Get the normalmapping compound map | ||
| const TSharedPtr< IDatasmithCompositeTexture > & | Get the normalmapping compound map | ||
| const TCHAR * | Get the normalmapping filename | ||
| FDatasmithTextureSampler | Get the normalmapping UV coordinates | ||
| TSharedPtr< IDatasmithCompositeTexture > & | GetRefleComp () |
Get the reflectance compound map | |
| const TSharedPtr< IDatasmithCompositeTexture > & | GetRefleComp () |
Get the reflectance compound map | |
| FLinearColor | Get the reflectance color in linear space | ||
| const TCHAR * | Get the reflectance filename | ||
| FDatasmithTextureSampler | Get the reflectance UV coordinates | ||
| double | GetRoughness () |
Get the roughness color in linear space | |
| const TSharedPtr< IDatasmithCompositeTexture > & | Get the roughness compound map | ||
| TSharedPtr< IDatasmithCompositeTexture > & | Get the roughness compound map | ||
| const TCHAR * | Get the roughness filename | ||
| FDatasmithTextureSampler | Get the roughness UV coordinates | ||
| const EDatasmithShaderUsage | Get the domain of this shader | ||
| TSharedPtr< IDatasmithCompositeTexture > & | GetTransComp () |
Get the transparency compound map | |
| const TSharedPtr< IDatasmithCompositeTexture > & | GetTransComp () |
Get the transparency compound map | |
| FLinearColor | Get the transparency color in linear space | ||
| const TCHAR * | Get the transparency filename | ||
| FDatasmithTextureSampler | Get the transparency UV coordinates | ||
| bool | GetTwoSided () |
Get the two sided material attribute | |
| const bool | Set use Emissive for dynamic area lighting | ||
| FLinearColor | Get the weight color in linear space. | ||
| const TSharedPtr< IDatasmithCompositeTexture > & | Get the weight compound map Weight color, texture and value are only used for multilayered materials. | ||
| TSharedPtr< IDatasmithCompositeTexture > & | Get the weight compound map Weight color, texture and value are only used for multilayered materials. | ||
| const TCHAR * | Get the weight filename Weight color, texture and value are only used for multilayered materials. | ||
| FDatasmithTextureSampler | Get the weight UV coordinates Weight color, texture and value are only used for multilayered materials. | ||
| double | Get the weight power value Weight color, texture and value are only used for multilayered materials. | ||
| void | SetBlendMode
(
EDatasmithBlendMode Value |
Set the blending mode. It only has effect on multilayered materials and all the layers but layer 0. | |
| void | SetBumpAmount
(
double Value |
Set the bump/normal amount | |
| void | SetBumpComp
(
const TSharedPtr< IDatasmithCompositeTexture >& Value |
Set the bumpmapping compound map | |
| void | SetBumpTexture
(
const TCHAR* Value |
Set the bumpmapping filename | |
| void | Set the bumpmapping UV coordinates | ||
| void | Set the diffuse UV coordinates | ||
| void | SetDiffuseColor
(
FLinearColor Value |
Set the diffuse color in linear space | |
| void | SetDiffuseComp
(
const TSharedPtr< IDatasmithCompositeTexture >& Value |
Set the diffuse compound map | |
| void | SetDiffuseTexture
(
const TCHAR* Value |
Set the diffuse filename | |
| void | SetEmitColor
(
FLinearColor Value |
Set the emittance color in linear space | |
| void | SetEmitComp
(
const TSharedPtr< IDatasmithCompositeTexture >& Value |
Set the emittance compound map | |
| void | SetEmitPower
(
double Value |
Set the emittance power in lumens | |
| void | SetEmitTemperature
(
double Value |
Set the emittance temperature color | |
| void | SetEmitTexture
(
const TCHAR* Value |
Set the emittance filename | |
| void | Set the emittance UV coordinates | ||
| void | SetIOR
(
double Value |
Set the Ior N value, usually Ior K is set to 0 so this will control the entire reflection fresnel effect | |
| void | SetIORk
(
double Value |
Set the Ior K effect, this is used for more advanced representations of the reflection fresnel effect | |
| void | SetIORRefra
(
double Value |
Set the InIndex of Refraction value | |
| void | SetIsStackedLayer
(
bool Value |
Set the if this layer is weighted as a stack. | |
| void | SetLightOnly
(
bool Value |
Sets material is used as lighting only. | |
| void | SetMaskComp
(
const TSharedPtr< IDatasmithCompositeTexture >& Value |
Set the opacity mask compound map | |
| void | SetMaskTexture
(
const TCHAR* Value |
Set the opacity mask filename | |
| void | Set the opacity mask UV coordinates | ||
| void | SetMetal
(
double Value |
Set the metalness value | |
| void | SetMetalComp
(
const TSharedPtr< IDatasmithCompositeTexture >& Value |
Set the metalness compound map | |
| void | SetMetalTexture
(
const TCHAR* Value |
Set the metalness filename | |
| void | Set the metalness UV coordinates | ||
| void | SetNormalComp
(
const TSharedPtr< IDatasmithCompositeTexture >& Value |
Set the normalmapping compound map | |
| void | SetNormalTexture
(
const TCHAR* Value |
Set the normalmapping filename | |
| void | Set the normalmapping UV coordinates | ||
| void | SetRefleComp
(
const TSharedPtr< IDatasmithCompositeTexture >& Value |
Set the reflectance compound map | |
| void | SetReflectanceColor
(
FLinearColor Value |
Set the reflectance color in linear space | |
| void | SetReflectanceTexture
(
const TCHAR* Value |
Set the reflectance filename | |
| void | Set the reflectance UV coordinates | ||
| void | SetRoughness
(
double Value |
Set the roughness color in linear space | |
| void | SetRoughnessComp
(
const TSharedPtr< IDatasmithCompositeTexture >& Value |
Set the roughness compound map | |
| void | SetRoughnessTexture
(
const TCHAR* Value |
Set the roughness filename | |
| void | Set the roughness UV coordinates | ||
| void | SetShaderUsage
(
EDatasmithShaderUsage InMaterialUsage |
Set the domain of this shader | |
| void | SetTransComp
(
const TSharedPtr< IDatasmithCompositeTexture >& Value |
Set the transparency compound map | |
| void | SetTransparencyColor
(
FLinearColor Value |
Set the transparency color in linear space | |
| void | SetTransparencyTexture
(
const TCHAR* Value |
Set the transparency filename | |
| void | Set the transparency UV coordinates | ||
| void | SetTwoSided
(
bool Value |
Set the two sided material attribute | |
| void | SetUseEmissiveForDynamicAreaLighting
(
bool InUseEmissiveForDynamicAreaLighting |
Get use Emissive for dynamic area lighting | |
| void | SetWeightColor
(
FLinearColor Value |
Set the weight color in linear space. | |
| void | SetWeightComp
(
const TSharedPtr< IDatasmithCompositeTexture >& Value |
Set the weight compound map Weight color, texture and value are only used for multilayered materials. | |
| void | SetWeightTexture
(
const TCHAR* Value |
Set the weight filename Weight color, texture and value are only used for multilayered materials. | |
| void | Set the weight UV coordinates Weight color, texture and value are only used for multilayered materials. | ||
| void | SetWeightValue
(
double Value |
Set the weight power value Weight color, texture and value are only used for multilayered materials. |
Constants
| Name | Description |
|---|---|
| bDisableReflectionFresnel | If it is set to true no fresnel effect is applied on reflection and just a constant effect is assigned to the reflection slot |
| bUseRealisticFresnel | Realistic fresnel creates a pretty more complex node tree based on the actual fresnel equation. |