UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IDatasmithShaderElement Class Referenceabstract

#include <IDatasmithSceneElements.h>

+ Inheritance diagram for IDatasmithShaderElement:

Public Member Functions

virtual ~IDatasmithShaderElement ()
 
virtual double GetIOR () const =0
 
virtual void SetIOR (double Value)=0
 
virtual double GetIORk () const =0
 
virtual void SetIORk (double Value)=0
 
virtual double GetIORRefra () const =0
 
virtual void SetIORRefra (double Value)=0
 
virtual double GetBumpAmount () const =0
 
virtual void SetBumpAmount (double Value)=0
 
virtual bool GetTwoSided () const =0
 
virtual void SetTwoSided (bool Value)=0
 
virtual FLinearColor GetDiffuseColor () const =0
 
virtual void SetDiffuseColor (FLinearColor Value)=0
 
virtual const TCHARGetDiffuseTexture () const =0
 
virtual void SetDiffuseTexture (const TCHAR *Value)=0
 
virtual FDatasmithTextureSampler GetDiffTextureSampler () const =0
 
virtual void SetDiffTextureSampler (FDatasmithTextureSampler Value)=0
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetDiffuseComp ()=0
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetDiffuseComp () const =0
 
virtual void SetDiffuseComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 
virtual FLinearColor GetReflectanceColor () const =0
 
virtual void SetReflectanceColor (FLinearColor Value)=0
 
virtual const TCHARGetReflectanceTexture () const =0
 
virtual void SetReflectanceTexture (const TCHAR *Value)=0
 
virtual FDatasmithTextureSampler GetRefleTextureSampler () const =0
 
virtual void SetRefleTextureSampler (FDatasmithTextureSampler Value)=0
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetRefleComp ()=0
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetRefleComp () const =0
 
virtual void SetRefleComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 
virtual double GetRoughness () const =0
 
virtual void SetRoughness (double Value)=0
 
virtual const TCHARGetRoughnessTexture () const =0
 
virtual void SetRoughnessTexture (const TCHAR *Value)=0
 
virtual FDatasmithTextureSampler GetRoughTextureSampler () const =0
 
virtual void SetRoughTextureSampler (FDatasmithTextureSampler Value)=0
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetRoughnessComp ()=0
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetRoughnessComp () const =0
 
virtual void SetRoughnessComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 
virtual const TCHARGetNormalTexture () const =0
 
virtual void SetNormalTexture (const TCHAR *Value)=0
 
virtual FDatasmithTextureSampler GetNormalTextureSampler () const =0
 
virtual void SetNormalTextureSampler (FDatasmithTextureSampler Value)=0
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetNormalComp ()=0
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetNormalComp () const =0
 
virtual void SetNormalComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 
virtual const TCHARGetBumpTexture () const =0
 
virtual void SetBumpTexture (const TCHAR *Value)=0
 
virtual FDatasmithTextureSampler GetBumpTextureSampler () const =0
 
virtual void SetBumpTextureSampler (FDatasmithTextureSampler Value)=0
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetBumpComp ()=0
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetBumpComp () const =0
 
virtual void SetBumpComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 
virtual FLinearColor GetTransparencyColor () const =0
 
virtual void SetTransparencyColor (FLinearColor Value)=0
 
virtual const TCHARGetTransparencyTexture () const =0
 
virtual void SetTransparencyTexture (const TCHAR *Value)=0
 
virtual FDatasmithTextureSampler GetTransTextureSampler () const =0
 
virtual void SetTransTextureSampler (FDatasmithTextureSampler Value)=0
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetTransComp ()=0
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetTransComp () const =0
 
virtual void SetTransComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 
virtual const TCHARGetMaskTexture () const =0
 
virtual void SetMaskTexture (const TCHAR *Value)=0
 
virtual FDatasmithTextureSampler GetMaskTextureSampler () const =0
 
virtual void SetMaskTextureSampler (FDatasmithTextureSampler Value)=0
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetMaskComp ()=0
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetMaskComp () const =0
 
virtual void SetMaskComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 
virtual double GetMetal () const =0
 
virtual void SetMetal (double Value)=0
 
virtual const TCHARGetMetalTexture () const =0
 
virtual void SetMetalTexture (const TCHAR *Value)=0
 
virtual FDatasmithTextureSampler GetMetalTextureSampler () const =0
 
virtual void SetMetalTextureSampler (FDatasmithTextureSampler Value)=0
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetMetalComp ()=0
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetMetalComp () const =0
 
virtual void SetMetalComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 
virtual FLinearColor GetEmitColor () const =0
 
virtual void SetEmitColor (FLinearColor Value)=0
 
virtual const TCHARGetEmitTexture () const =0
 
virtual void SetEmitTexture (const TCHAR *Value)=0
 
virtual FDatasmithTextureSampler GetEmitTextureSampler () const =0
 
virtual void SetEmitTextureSampler (FDatasmithTextureSampler Value)=0
 
virtual double GetEmitTemperature () const =0
 
virtual void SetEmitTemperature (double Value)=0
 
virtual double GetEmitPower () const =0
 
virtual void SetEmitPower (double Value)=0
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetEmitComp ()=0
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetEmitComp () const =0
 
virtual void SetEmitComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 
virtual bool GetLightOnly () const =0
 
virtual void SetLightOnly (bool Value)=0
 
virtual FLinearColor GetWeightColor () const =0
 
virtual void SetWeightColor (FLinearColor Value)=0
 
virtual const TCHARGetWeightTexture () const =0
 
virtual void SetWeightTexture (const TCHAR *Value)=0
 
virtual FDatasmithTextureSampler GetWeightTextureSampler () const =0
 
virtual void SetWeightTextureSampler (FDatasmithTextureSampler Value)=0
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetWeightComp ()=0
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetWeightComp () const =0
 
virtual void SetWeightComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 
virtual double GetWeightValue () const =0
 
virtual void SetWeightValue (double Value)=0
 
virtual EDatasmithBlendMode GetBlendMode () const =0
 
virtual void SetBlendMode (EDatasmithBlendMode Value)=0
 
virtual bool GetIsStackedLayer () const =0
 
virtual void SetIsStackedLayer (bool Value)=0
 
virtual const EDatasmithShaderUsage GetShaderUsage () const =0
 
virtual void SetShaderUsage (EDatasmithShaderUsage InMaterialUsage)=0
 
virtual const bool GetUseEmissiveForDynamicAreaLighting () const =0
 
virtual void SetUseEmissiveForDynamicAreaLighting (bool InUseEmissiveForDynamicAreaLighting)=0
 
- Public Member Functions inherited from IDatasmithElement
virtual bool IsA (EDatasmithElementType Type) const =0
 
virtual const TCHARGetName () const =0
 
virtual void SetName (const TCHAR *InName)=0
 
virtual const TCHARGetLabel () const =0
 
virtual void SetLabel (const TCHAR *InLabel)=0
 
virtual FMD5Hash CalculateElementHash (bool bForce)=0
 

Static Public Attributes

static UE_API bool bUseRealisticFresnel = true
 
static UE_API bool bDisableReflectionFresnel = false
 

Constructor & Destructor Documentation

◆ ~IDatasmithShaderElement()

virtual IDatasmithShaderElement::~IDatasmithShaderElement ( )
inlinevirtual

Member Function Documentation

◆ GetBlendMode()

virtual EDatasmithBlendMode IDatasmithShaderElement::GetBlendMode ( ) const
pure virtual

Get the blending mode. It only has effect on multilayered materials and all the layers but layer 0.

Implemented in FDatasmithShaderElementImpl.

◆ GetBumpAmount()

virtual double IDatasmithShaderElement::GetBumpAmount ( ) const
pure virtual

Get the bump/normal amount

Implemented in FDatasmithShaderElementImpl.

◆ GetBumpComp() [1/2]

virtual const TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetBumpComp ( ) const
pure virtual

Get the bumpmapping compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetBumpComp() [2/2]

virtual TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetBumpComp ( )
pure virtual

Get the bumpmapping compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetBumpTexture()

virtual const TCHAR * IDatasmithShaderElement::GetBumpTexture ( ) const
pure virtual

Get the bumpmapping filename

Implemented in FDatasmithShaderElementImpl.

◆ GetBumpTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetBumpTextureSampler ( ) const
pure virtual

Get the bumpmapping UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ GetDiffTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetDiffTextureSampler ( ) const
pure virtual

Get the diffuse UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ GetDiffuseColor()

virtual FLinearColor IDatasmithShaderElement::GetDiffuseColor ( ) const
pure virtual

Get the diffuse color in linear space

Implemented in FDatasmithShaderElementImpl.

◆ GetDiffuseComp() [1/2]

virtual const TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetDiffuseComp ( ) const
pure virtual

Get the diffuse compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetDiffuseComp() [2/2]

virtual TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetDiffuseComp ( )
pure virtual

Get the diffuse compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetDiffuseTexture()

virtual const TCHAR * IDatasmithShaderElement::GetDiffuseTexture ( ) const
pure virtual

Get the diffuse filename

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitColor()

virtual FLinearColor IDatasmithShaderElement::GetEmitColor ( ) const
pure virtual

Get the emittance color in linear space

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitComp() [1/2]

virtual const TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetEmitComp ( ) const
pure virtual

Get the emittance compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitComp() [2/2]

virtual TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetEmitComp ( )
pure virtual

Get the emittance compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitPower()

virtual double IDatasmithShaderElement::GetEmitPower ( ) const
pure virtual

Get the emittance power in lumens

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitTemperature()

virtual double IDatasmithShaderElement::GetEmitTemperature ( ) const
pure virtual

Get the emittance temperature color

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitTexture()

virtual const TCHAR * IDatasmithShaderElement::GetEmitTexture ( ) const
pure virtual

Get the emittance filename

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetEmitTextureSampler ( ) const
pure virtual

Get the emittance UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ GetIOR()

virtual double IDatasmithShaderElement::GetIOR ( ) const
pure virtual

Get the Ior N value, usually Ior K is set to 0 so this will control the entire reflection fresnel effect

Implemented in FDatasmithShaderElementImpl.

◆ GetIORk()

virtual double IDatasmithShaderElement::GetIORk ( ) const
pure virtual

Get the Ior K effect, this is used for more advanced representations of the reflection fresnel effect

Implemented in FDatasmithShaderElementImpl.

◆ GetIORRefra()

virtual double IDatasmithShaderElement::GetIORRefra ( ) const
pure virtual

Get the InIndex of Refraction value

Implemented in FDatasmithShaderElementImpl.

◆ GetIsStackedLayer()

virtual bool IDatasmithShaderElement::GetIsStackedLayer ( ) const
pure virtual

Get the if this layer is weighted as a stack. It only has effect on multilayered materials and all the layers but layer 0.

Implemented in FDatasmithShaderElementImpl.

◆ GetLightOnly()

virtual bool IDatasmithShaderElement::GetLightOnly ( ) const
pure virtual

Gets material is used as lighting only. If true the material sets the lighting mode to Unlit, regular lighting mode otherwise.

Implemented in FDatasmithShaderElementImpl.

◆ GetMaskComp() [1/2]

virtual const TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetMaskComp ( ) const
pure virtual

Get the opacity mask compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetMaskComp() [2/2]

virtual TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetMaskComp ( )
pure virtual

Get the opacity mask compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetMaskTexture()

virtual const TCHAR * IDatasmithShaderElement::GetMaskTexture ( ) const
pure virtual

Get the opacity mask filename

Implemented in FDatasmithShaderElementImpl.

◆ GetMaskTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetMaskTextureSampler ( ) const
pure virtual

Get the opacity mask UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ GetMetal()

virtual double IDatasmithShaderElement::GetMetal ( ) const
pure virtual

Get the metalness value

Implemented in FDatasmithShaderElementImpl.

◆ GetMetalComp() [1/2]

virtual const TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetMetalComp ( ) const
pure virtual

Get the metalness compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetMetalComp() [2/2]

virtual TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetMetalComp ( )
pure virtual

Get the metalness compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetMetalTexture()

virtual const TCHAR * IDatasmithShaderElement::GetMetalTexture ( ) const
pure virtual

Get the metalness filename

Implemented in FDatasmithShaderElementImpl.

◆ GetMetalTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetMetalTextureSampler ( ) const
pure virtual

Get the metalness UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ GetNormalComp() [1/2]

virtual const TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetNormalComp ( ) const
pure virtual

Get the normalmapping compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetNormalComp() [2/2]

virtual TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetNormalComp ( )
pure virtual

Get the normalmapping compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetNormalTexture()

virtual const TCHAR * IDatasmithShaderElement::GetNormalTexture ( ) const
pure virtual

Get the normalmapping filename

Implemented in FDatasmithShaderElementImpl.

◆ GetNormalTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetNormalTextureSampler ( ) const
pure virtual

Get the normalmapping UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ GetRefleComp() [1/2]

virtual const TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetRefleComp ( ) const
pure virtual

Get the reflectance compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetRefleComp() [2/2]

virtual TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetRefleComp ( )
pure virtual

Get the reflectance compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetReflectanceColor()

virtual FLinearColor IDatasmithShaderElement::GetReflectanceColor ( ) const
pure virtual

Get the reflectance color in linear space

Implemented in FDatasmithShaderElementImpl.

◆ GetReflectanceTexture()

virtual const TCHAR * IDatasmithShaderElement::GetReflectanceTexture ( ) const
pure virtual

Get the reflectance filename

Implemented in FDatasmithShaderElementImpl.

◆ GetRefleTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetRefleTextureSampler ( ) const
pure virtual

Get the reflectance UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ GetRoughness()

virtual double IDatasmithShaderElement::GetRoughness ( ) const
pure virtual

Get the roughness color in linear space

Implemented in FDatasmithShaderElementImpl.

◆ GetRoughnessComp() [1/2]

virtual const TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetRoughnessComp ( ) const
pure virtual

Get the roughness compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetRoughnessComp() [2/2]

virtual TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetRoughnessComp ( )
pure virtual

Get the roughness compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetRoughnessTexture()

virtual const TCHAR * IDatasmithShaderElement::GetRoughnessTexture ( ) const
pure virtual

Get the roughness filename

Implemented in FDatasmithShaderElementImpl.

◆ GetRoughTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetRoughTextureSampler ( ) const
pure virtual

Get the roughness UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ GetShaderUsage()

virtual const EDatasmithShaderUsage IDatasmithShaderElement::GetShaderUsage ( ) const
pure virtual

Get the domain of this shader

Implemented in FDatasmithShaderElementImpl.

◆ GetTransComp() [1/2]

virtual const TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetTransComp ( ) const
pure virtual

Get the transparency compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetTransComp() [2/2]

virtual TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetTransComp ( )
pure virtual

Get the transparency compound map

Implemented in FDatasmithShaderElementImpl.

◆ GetTransparencyColor()

virtual FLinearColor IDatasmithShaderElement::GetTransparencyColor ( ) const
pure virtual

Get the transparency color in linear space

Implemented in FDatasmithShaderElementImpl.

◆ GetTransparencyTexture()

virtual const TCHAR * IDatasmithShaderElement::GetTransparencyTexture ( ) const
pure virtual

Get the transparency filename

Implemented in FDatasmithShaderElementImpl.

◆ GetTransTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetTransTextureSampler ( ) const
pure virtual

Get the transparency UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ GetTwoSided()

virtual bool IDatasmithShaderElement::GetTwoSided ( ) const
pure virtual

Get the two sided material attribute

Implemented in FDatasmithShaderElementImpl.

◆ GetUseEmissiveForDynamicAreaLighting()

virtual const bool IDatasmithShaderElement::GetUseEmissiveForDynamicAreaLighting ( ) const
pure virtual

Set use Emissive for dynamic area lighting

Implemented in FDatasmithShaderElementImpl.

◆ GetWeightColor()

virtual FLinearColor IDatasmithShaderElement::GetWeightColor ( ) const
pure virtual

Get the weight color in linear space. Weight color, texture and value are only used for multilayered materials.

Implemented in FDatasmithShaderElementImpl.

◆ GetWeightComp() [1/2]

virtual const TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetWeightComp ( ) const
pure virtual

Get the weight compound map Weight color, texture and value are only used for multilayered materials.

Implemented in FDatasmithShaderElementImpl.

◆ GetWeightComp() [2/2]

virtual TSharedPtr< IDatasmithCompositeTexture > & IDatasmithShaderElement::GetWeightComp ( )
pure virtual

Get the weight compound map Weight color, texture and value are only used for multilayered materials.

Implemented in FDatasmithShaderElementImpl.

◆ GetWeightTexture()

virtual const TCHAR * IDatasmithShaderElement::GetWeightTexture ( ) const
pure virtual

Get the weight filename Weight color, texture and value are only used for multilayered materials.

Implemented in FDatasmithShaderElementImpl.

◆ GetWeightTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetWeightTextureSampler ( ) const
pure virtual

Get the weight UV coordinates Weight color, texture and value are only used for multilayered materials.

Implemented in FDatasmithShaderElementImpl.

◆ GetWeightValue()

virtual double IDatasmithShaderElement::GetWeightValue ( ) const
pure virtual

Get the weight power value Weight color, texture and value are only used for multilayered materials.

Implemented in FDatasmithShaderElementImpl.

◆ SetBlendMode()

virtual void IDatasmithShaderElement::SetBlendMode ( EDatasmithBlendMode  Value)
pure virtual

Set the blending mode. It only has effect on multilayered materials and all the layers but layer 0.

Implemented in FDatasmithShaderElementImpl.

◆ SetBumpAmount()

virtual void IDatasmithShaderElement::SetBumpAmount ( double  Value)
pure virtual

Set the bump/normal amount

Implemented in FDatasmithShaderElementImpl.

◆ SetBumpComp()

virtual void IDatasmithShaderElement::SetBumpComp ( const TSharedPtr< IDatasmithCompositeTexture > &  Value)
pure virtual

Set the bumpmapping compound map

Implemented in FDatasmithShaderElementImpl.

◆ SetBumpTexture()

virtual void IDatasmithShaderElement::SetBumpTexture ( const TCHAR Value)
pure virtual

Set the bumpmapping filename

Implemented in FDatasmithShaderElementImpl.

◆ SetBumpTextureSampler()

virtual void IDatasmithShaderElement::SetBumpTextureSampler ( FDatasmithTextureSampler  Value)
pure virtual

Set the bumpmapping UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ SetDiffTextureSampler()

virtual void IDatasmithShaderElement::SetDiffTextureSampler ( FDatasmithTextureSampler  Value)
pure virtual

Set the diffuse UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ SetDiffuseColor()

virtual void IDatasmithShaderElement::SetDiffuseColor ( FLinearColor  Value)
pure virtual

Set the diffuse color in linear space

Implemented in FDatasmithShaderElementImpl.

◆ SetDiffuseComp()

virtual void IDatasmithShaderElement::SetDiffuseComp ( const TSharedPtr< IDatasmithCompositeTexture > &  Value)
pure virtual

Set the diffuse compound map

Implemented in FDatasmithShaderElementImpl.

◆ SetDiffuseTexture()

virtual void IDatasmithShaderElement::SetDiffuseTexture ( const TCHAR Value)
pure virtual

Set the diffuse filename

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitColor()

virtual void IDatasmithShaderElement::SetEmitColor ( FLinearColor  Value)
pure virtual

Set the emittance color in linear space

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitComp()

virtual void IDatasmithShaderElement::SetEmitComp ( const TSharedPtr< IDatasmithCompositeTexture > &  Value)
pure virtual

Set the emittance compound map

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitPower()

virtual void IDatasmithShaderElement::SetEmitPower ( double  Value)
pure virtual

Set the emittance power in lumens

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitTemperature()

virtual void IDatasmithShaderElement::SetEmitTemperature ( double  Value)
pure virtual

Set the emittance temperature color

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitTexture()

virtual void IDatasmithShaderElement::SetEmitTexture ( const TCHAR Value)
pure virtual

Set the emittance filename

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitTextureSampler()

virtual void IDatasmithShaderElement::SetEmitTextureSampler ( FDatasmithTextureSampler  Value)
pure virtual

Set the emittance UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ SetIOR()

virtual void IDatasmithShaderElement::SetIOR ( double  Value)
pure virtual

Set the Ior N value, usually Ior K is set to 0 so this will control the entire reflection fresnel effect

Implemented in FDatasmithShaderElementImpl.

◆ SetIORk()

virtual void IDatasmithShaderElement::SetIORk ( double  Value)
pure virtual

Set the Ior K effect, this is used for more advanced representations of the reflection fresnel effect

Implemented in FDatasmithShaderElementImpl.

◆ SetIORRefra()

virtual void IDatasmithShaderElement::SetIORRefra ( double  Value)
pure virtual

Set the InIndex of Refraction value

Implemented in FDatasmithShaderElementImpl.

◆ SetIsStackedLayer()

virtual void IDatasmithShaderElement::SetIsStackedLayer ( bool  Value)
pure virtual

Set the if this layer is weighted as a stack. It only has effect on multilayered materials and all the layers but layer 0.

Implemented in FDatasmithShaderElementImpl.

◆ SetLightOnly()

virtual void IDatasmithShaderElement::SetLightOnly ( bool  Value)
pure virtual

Sets material is used as lighting only. If true the material sets the lighting mode to Unlit, regular lighting mode otherwise.

Implemented in FDatasmithShaderElementImpl.

◆ SetMaskComp()

virtual void IDatasmithShaderElement::SetMaskComp ( const TSharedPtr< IDatasmithCompositeTexture > &  Value)
pure virtual

Set the opacity mask compound map

Implemented in FDatasmithShaderElementImpl.

◆ SetMaskTexture()

virtual void IDatasmithShaderElement::SetMaskTexture ( const TCHAR Value)
pure virtual

Set the opacity mask filename

Implemented in FDatasmithShaderElementImpl.

◆ SetMaskTextureSampler()

virtual void IDatasmithShaderElement::SetMaskTextureSampler ( FDatasmithTextureSampler  Value)
pure virtual

Set the opacity mask UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ SetMetal()

virtual void IDatasmithShaderElement::SetMetal ( double  Value)
pure virtual

Set the metalness value

Implemented in FDatasmithShaderElementImpl.

◆ SetMetalComp()

virtual void IDatasmithShaderElement::SetMetalComp ( const TSharedPtr< IDatasmithCompositeTexture > &  Value)
pure virtual

Set the metalness compound map

Implemented in FDatasmithShaderElementImpl.

◆ SetMetalTexture()

virtual void IDatasmithShaderElement::SetMetalTexture ( const TCHAR Value)
pure virtual

Set the metalness filename

Implemented in FDatasmithShaderElementImpl.

◆ SetMetalTextureSampler()

virtual void IDatasmithShaderElement::SetMetalTextureSampler ( FDatasmithTextureSampler  Value)
pure virtual

Set the metalness UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ SetNormalComp()

virtual void IDatasmithShaderElement::SetNormalComp ( const TSharedPtr< IDatasmithCompositeTexture > &  Value)
pure virtual

Set the normalmapping compound map

Implemented in FDatasmithShaderElementImpl.

◆ SetNormalTexture()

virtual void IDatasmithShaderElement::SetNormalTexture ( const TCHAR Value)
pure virtual

Set the normalmapping filename

Implemented in FDatasmithShaderElementImpl.

◆ SetNormalTextureSampler()

virtual void IDatasmithShaderElement::SetNormalTextureSampler ( FDatasmithTextureSampler  Value)
pure virtual

Set the normalmapping UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ SetRefleComp()

virtual void IDatasmithShaderElement::SetRefleComp ( const TSharedPtr< IDatasmithCompositeTexture > &  Value)
pure virtual

Set the reflectance compound map

Implemented in FDatasmithShaderElementImpl.

◆ SetReflectanceColor()

virtual void IDatasmithShaderElement::SetReflectanceColor ( FLinearColor  Value)
pure virtual

Set the reflectance color in linear space

Implemented in FDatasmithShaderElementImpl.

◆ SetReflectanceTexture()

virtual void IDatasmithShaderElement::SetReflectanceTexture ( const TCHAR Value)
pure virtual

Set the reflectance filename

Implemented in FDatasmithShaderElementImpl.

◆ SetRefleTextureSampler()

virtual void IDatasmithShaderElement::SetRefleTextureSampler ( FDatasmithTextureSampler  Value)
pure virtual

Set the reflectance UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ SetRoughness()

virtual void IDatasmithShaderElement::SetRoughness ( double  Value)
pure virtual

Set the roughness color in linear space

Implemented in FDatasmithShaderElementImpl.

◆ SetRoughnessComp()

virtual void IDatasmithShaderElement::SetRoughnessComp ( const TSharedPtr< IDatasmithCompositeTexture > &  Value)
pure virtual

Set the roughness compound map

Implemented in FDatasmithShaderElementImpl.

◆ SetRoughnessTexture()

virtual void IDatasmithShaderElement::SetRoughnessTexture ( const TCHAR Value)
pure virtual

Set the roughness filename

Implemented in FDatasmithShaderElementImpl.

◆ SetRoughTextureSampler()

virtual void IDatasmithShaderElement::SetRoughTextureSampler ( FDatasmithTextureSampler  Value)
pure virtual

Set the roughness UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ SetShaderUsage()

virtual void IDatasmithShaderElement::SetShaderUsage ( EDatasmithShaderUsage  InMaterialUsage)
pure virtual

Set the domain of this shader

Implemented in FDatasmithShaderElementImpl.

◆ SetTransComp()

virtual void IDatasmithShaderElement::SetTransComp ( const TSharedPtr< IDatasmithCompositeTexture > &  Value)
pure virtual

Set the transparency compound map

Implemented in FDatasmithShaderElementImpl.

◆ SetTransparencyColor()

virtual void IDatasmithShaderElement::SetTransparencyColor ( FLinearColor  Value)
pure virtual

Set the transparency color in linear space

Implemented in FDatasmithShaderElementImpl.

◆ SetTransparencyTexture()

virtual void IDatasmithShaderElement::SetTransparencyTexture ( const TCHAR Value)
pure virtual

Set the transparency filename

Implemented in FDatasmithShaderElementImpl.

◆ SetTransTextureSampler()

virtual void IDatasmithShaderElement::SetTransTextureSampler ( FDatasmithTextureSampler  Value)
pure virtual

Set the transparency UV coordinates

Implemented in FDatasmithShaderElementImpl.

◆ SetTwoSided()

virtual void IDatasmithShaderElement::SetTwoSided ( bool  Value)
pure virtual

Set the two sided material attribute

Implemented in FDatasmithShaderElementImpl.

◆ SetUseEmissiveForDynamicAreaLighting()

virtual void IDatasmithShaderElement::SetUseEmissiveForDynamicAreaLighting ( bool  InUseEmissiveForDynamicAreaLighting)
pure virtual

Get use Emissive for dynamic area lighting

Implemented in FDatasmithShaderElementImpl.

◆ SetWeightColor()

virtual void IDatasmithShaderElement::SetWeightColor ( FLinearColor  Value)
pure virtual

Set the weight color in linear space. Weight color, texture and value are only used for multilayered materials.

Implemented in FDatasmithShaderElementImpl.

◆ SetWeightComp()

virtual void IDatasmithShaderElement::SetWeightComp ( const TSharedPtr< IDatasmithCompositeTexture > &  Value)
pure virtual

Set the weight compound map Weight color, texture and value are only used for multilayered materials.

Implemented in FDatasmithShaderElementImpl.

◆ SetWeightTexture()

virtual void IDatasmithShaderElement::SetWeightTexture ( const TCHAR Value)
pure virtual

Set the weight filename Weight color, texture and value are only used for multilayered materials.

Implemented in FDatasmithShaderElementImpl.

◆ SetWeightTextureSampler()

virtual void IDatasmithShaderElement::SetWeightTextureSampler ( FDatasmithTextureSampler  Value)
pure virtual

Set the weight UV coordinates Weight color, texture and value are only used for multilayered materials.

Implemented in FDatasmithShaderElementImpl.

◆ SetWeightValue()

virtual void IDatasmithShaderElement::SetWeightValue ( double  Value)
pure virtual

Set the weight power value Weight color, texture and value are only used for multilayered materials.

Implemented in FDatasmithShaderElementImpl.

Member Data Documentation

◆ bDisableReflectionFresnel

bool IDatasmithShaderElement::bDisableReflectionFresnel = false
static

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

bool IDatasmithShaderElement::bUseRealisticFresnel = true
static

Realistic fresnel creates a pretty more complex node tree based on the actual fresnel equation. If this param is not enabled an approximation will be used.

It has no effect if bDisableReflectionFresnel is set to true.


The documentation for this class was generated from the following files: