IDatasmithShaderElement Class Referenceabstract
Inheritance diagram for IDatasmithShaderElement:
IDatasmithElement FDatasmithElementImpl< IDatasmithShaderElement > FDatasmithShaderElementImpl

Public Member Functions

virtual double GetIOR () const =0
 Get the Ior N value, usually Ior K is set to 0 so this will control the entire reflection fresnel effect. More...
 
virtual void SetIOR (double Value)=0
 Set the Ior N value, usually Ior K is set to 0 so this will control the entire reflection fresnel effect. More...
 
virtual double GetIORk () const =0
 Get the Ior K effect, this is used for more advanced representations of the reflection fresnel effect. More...
 
virtual void SetIORk (double Value)=0
 Set the Ior K effect, this is used for more advanced representations of the reflection fresnel effect. More...
 
virtual double GetIORRefra () const =0
 Get the InIndex of Refraction value. More...
 
virtual void SetIORRefra (double Value)=0
 Set the InIndex of Refraction value. More...
 
virtual double GetBumpAmount () const =0
 Get the bump/normal amount. More...
 
virtual void SetBumpAmount (double Value)=0
 Set the bump/normal amount. More...
 
virtual bool GetTwoSided () const =0
 Get the two sided material attribute. More...
 
virtual void SetTwoSided (bool Value)=0
 Set the two sided material attribute. More...
 
virtual FLinearColor GetDiffuseColor () const =0
 Get the diffuse color in linear space. More...
 
virtual void SetDiffuseColor (FLinearColor Value)=0
 Set the diffuse color in linear space. More...
 
virtual const TCHAR * GetDiffuseTexture () const =0
 Get the diffuse filename. More...
 
virtual void SetDiffuseTexture (const TCHAR *Value)=0
 Set the diffuse filename. More...
 
virtual FDatasmithTextureSampler GetDiffTextureSampler () const =0
 Get the diffuse UV coordinates. More...
 
virtual void SetDiffTextureSampler (FDatasmithTextureSampler Value)=0
 Set the diffuse UV coordinates. More...
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetDiffuseComp ()=0
 Get the diffuse compound map. More...
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetDiffuseComp () const =0
 Get the diffuse compound map. More...
 
virtual void SetDiffuseComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 Set the diffuse compound map. More...
 
virtual FLinearColor GetReflectanceColor () const =0
 Get the reflectance color in linear space. More...
 
virtual void SetReflectanceColor (FLinearColor Value)=0
 Set the reflectance color in linear space. More...
 
virtual const TCHAR * GetReflectanceTexture () const =0
 Get the reflectance filename. More...
 
virtual void SetReflectanceTexture (const TCHAR *Value)=0
 Set the reflectance filename. More...
 
virtual FDatasmithTextureSampler GetRefleTextureSampler () const =0
 Get the reflectance UV coordinates. More...
 
virtual void SetRefleTextureSampler (FDatasmithTextureSampler Value)=0
 Set the reflectance UV coordinates. More...
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetRefleComp ()=0
 Get the reflectance compound map. More...
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetRefleComp () const =0
 Get the reflectance compound map. More...
 
virtual void SetRefleComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 Set the reflectance compound map. More...
 
virtual double GetRoughness () const =0
 Get the roughness color in linear space. More...
 
virtual void SetRoughness (double Value)=0
 Set the roughness color in linear space. More...
 
virtual const TCHAR * GetRoughnessTexture () const =0
 Get the roughness filename. More...
 
virtual void SetRoughnessTexture (const TCHAR *Value)=0
 Set the roughness filename. More...
 
virtual FDatasmithTextureSampler GetRoughTextureSampler () const =0
 Get the roughness UV coordinates. More...
 
virtual void SetRoughTextureSampler (FDatasmithTextureSampler Value)=0
 Set the roughness UV coordinates. More...
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetRoughnessComp ()=0
 Get the roughness compound map. More...
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetRoughnessComp () const =0
 Get the roughness compound map. More...
 
virtual void SetRoughnessComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 Set the roughness compound map. More...
 
virtual const TCHAR * GetNormalTexture () const =0
 Get the normalmapping filename. More...
 
virtual void SetNormalTexture (const TCHAR *Value)=0
 Set the normalmapping filename. More...
 
virtual FDatasmithTextureSampler GetNormalTextureSampler () const =0
 Get the normalmapping UV coordinates. More...
 
virtual void SetNormalTextureSampler (FDatasmithTextureSampler Value)=0
 Set the normalmapping UV coordinates. More...
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetNormalComp ()=0
 Get the normalmapping compound map. More...
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetNormalComp () const =0
 Get the normalmapping compound map. More...
 
virtual void SetNormalComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 Set the normalmapping compound map. More...
 
virtual const TCHAR * GetBumpTexture () const =0
 Get the bumpmapping filename. More...
 
virtual void SetBumpTexture (const TCHAR *Value)=0
 Set the bumpmapping filename. More...
 
virtual FDatasmithTextureSampler GetBumpTextureSampler () const =0
 Get the bumpmapping UV coordinates. More...
 
virtual void SetBumpTextureSampler (FDatasmithTextureSampler Value)=0
 Set the bumpmapping UV coordinates. More...
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetBumpComp ()=0
 Get the bumpmapping compound map. More...
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetBumpComp () const =0
 Get the bumpmapping compound map. More...
 
virtual void SetBumpComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 Set the bumpmapping compound map. More...
 
virtual FLinearColor GetTransparencyColor () const =0
 Get the transparency color in linear space. More...
 
virtual void SetTransparencyColor (FLinearColor Value)=0
 Set the transparency color in linear space. More...
 
virtual const TCHAR * GetTransparencyTexture () const =0
 Get the transparency filename. More...
 
virtual void SetTransparencyTexture (const TCHAR *Value)=0
 Set the transparency filename. More...
 
virtual FDatasmithTextureSampler GetTransTextureSampler () const =0
 Get the transparency UV coordinates. More...
 
virtual void SetTransTextureSampler (FDatasmithTextureSampler Value)=0
 Set the transparency UV coordinates. More...
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetTransComp ()=0
 Get the transparency compound map. More...
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetTransComp () const =0
 Get the transparency compound map. More...
 
virtual void SetTransComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 Set the transparency compound map. More...
 
virtual const TCHAR * GetMaskTexture () const =0
 Get the opacity mask filename. More...
 
virtual void SetMaskTexture (const TCHAR *Value)=0
 Set the opacity mask filename. More...
 
virtual FDatasmithTextureSampler GetMaskTextureSampler () const =0
 Get the opacity mask UV coordinates. More...
 
virtual void SetMaskTextureSampler (FDatasmithTextureSampler Value)=0
 Set the opacity mask UV coordinates. More...
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetMaskComp ()=0
 Get the opacity mask compound map. More...
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetMaskComp () const =0
 Get the opacity mask compound map. More...
 
virtual void SetMaskComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 Set the opacity mask compound map. More...
 
virtual const TCHAR * GetDisplaceTexture () const =0
 Get the displacement filename. More...
 
virtual void SetDisplaceTexture (const TCHAR *Value)=0
 Set the displacement filename. More...
 
virtual FDatasmithTextureSampler GetDisplaceTextureSampler () const =0
 Get the displacement UV coordinates. More...
 
virtual void SetDisplaceTextureSampler (FDatasmithTextureSampler Value)=0
 Set the displacement UV coordinates. More...
 
virtual double GetDisplace () const =0
 Get the displacement value in centimeters. More...
 
virtual void SetDisplace (double Value)=0
 Set the displacement value in centimeters. More...
 
virtual double GetDisplaceSubDivision () const =0
 Get the displacement subdivision multiplier. More...
 
virtual void SetDisplaceSubDivision (double Value)=0
 Set the displacement subdivision multiplier. More...
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetDisplaceComp ()=0
 Get the displacement compound map. More...
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetDisplaceComp () const =0
 Get the displacement compound map. More...
 
virtual void SetDisplaceComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 Set the displacement compound map. More...
 
virtual double GetMetal () const =0
 Get the metalness value. More...
 
virtual void SetMetal (double Value)=0
 Set the metalness value. More...
 
virtual const TCHAR * GetMetalTexture () const =0
 Get the diffuse filename. More...
 
virtual void SetMetalTexture (const TCHAR *Value)=0
 Set the diffuse filename. More...
 
virtual FDatasmithTextureSampler GetMetalTextureSampler () const =0
 Get the diffuse UV coordinates. More...
 
virtual void SetMetalTextureSampler (FDatasmithTextureSampler Value)=0
 Set the diffuse UV coordinates. More...
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetMetalComp ()=0
 Get the diffuse compound map. More...
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetMetalComp () const =0
 Get the diffuse compound map. More...
 
virtual void SetMetalComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 Set the diffuse compound map. More...
 
virtual FLinearColor GetEmitColor () const =0
 Get the emmitance color in linear space. More...
 
virtual void SetEmitColor (FLinearColor Value)=0
 Set the emmitance color in linear space. More...
 
virtual const TCHAR * GetEmitTexture () const =0
 Get the emmitance filename. More...
 
virtual void SetEmitTexture (const TCHAR *Value)=0
 Set the emmitance filename. More...
 
virtual FDatasmithTextureSampler GetEmitTextureSampler () const =0
 Get the emmitance UV coordinates. More...
 
virtual void SetEmitTextureSampler (FDatasmithTextureSampler Value)=0
 Set the emmitance UV coordinates. More...
 
virtual double GetEmitTemperature () const =0
 Get the emmitance temperature color. More...
 
virtual void SetEmitTemperature (double Value)=0
 Set the emmitance temperature color. More...
 
virtual double GetEmitPower () const =0
 Get the emmitance power in lumens. More...
 
virtual void SetEmitPower (double Value)=0
 Set the emmitance power in lumens. More...
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetEmitComp ()=0
 Get the emmitance compound map. More...
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetEmitComp () const =0
 Get the emmitance compound map. More...
 
virtual void SetEmitComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 Set the emmitance compound map. More...
 
virtual bool GetLightOnly () const =0
 Gets material is used as lighting only. More...
 
virtual void SetLightOnly (bool Value)=0
 Sets material is used as lighting only. More...
 
virtual FLinearColor GetWeightColor () const =0
 Get the weight color in linear space. More...
 
virtual void SetWeightColor (FLinearColor Value)=0
 Set the weight color in linear space. More...
 
virtual const TCHAR * GetWeightTexture () const =0
 Get the weight filename Weight color, texture and value are only used for multilayered materials. More...
 
virtual void SetWeightTexture (const TCHAR *Value)=0
 Set the weight filename Weight color, texture and value are only used for multilayered materials. More...
 
virtual FDatasmithTextureSampler GetWeightTextureSampler () const =0
 Get the weight UV coordinates Weight color, texture and value are only used for multilayered materials. More...
 
virtual void SetWeightTextureSampler (FDatasmithTextureSampler Value)=0
 Set the weight UV coordinates Weight color, texture and value are only used for multilayered materials. More...
 
virtual TSharedPtr< IDatasmithCompositeTexture > & GetWeightComp ()=0
 Get the weight compound map Weight color, texture and value are only used for multilayered materials. More...
 
virtual const TSharedPtr< IDatasmithCompositeTexture > & GetWeightComp () const =0
 Get the weight compound map Weight color, texture and value are only used for multilayered materials. More...
 
virtual void SetWeightComp (const TSharedPtr< IDatasmithCompositeTexture > &Value)=0
 Set the weight compound map Weight color, texture and value are only used for multilayered materials. More...
 
virtual double GetWeightValue () const =0
 Get the weight power value Weight color, texture and value are only used for multilayered materials. More...
 
virtual void SetWeightValue (double Value)=0
 Set the weight power value Weight color, texture and value are only used for multilayered materials. More...
 
virtual EDatasmithBlendMode GetBlendMode () const =0
 Get the blending mode. More...
 
virtual void SetBlendMode (EDatasmithBlendMode Value)=0
 Set the blending mode. More...
 
virtual bool GetIsStackedLayer () const =0
 Get the if this layer is weighted as a stack. More...
 
virtual void SetIsStackedLayer (bool Value)=0
 Set the if this layer is weighted as a stack. More...
 
virtual const EDatasmithShaderUsage GetShaderUsage () const =0
 Get the domain of this shader. More...
 
virtual void SetShaderUsage (EDatasmithShaderUsage InMaterialUsage)=0
 Set the domain of this shader. More...
 
virtual const bool GetUseEmissiveForDynamicAreaLighting () const =0
 Set use Emissive for dynamic area lighting. More...
 
virtual void SetUseEmissiveForDynamicAreaLighting (bool InUseEmissiveForDynamicAreaLighting)=0
 Get use Emissive for dynamic area lighting. More...
 
- Public Member Functions inherited from IDatasmithElement
virtual bool IsA (EDatasmithElementType Type) const =0
 returns if this DatasmithElement is of a specified type More...
 
virtual bool IsSubType (uint64 SubType) const =0
 returns if this DatasmithElement is of a specified subtype of its EDatasmithElementType More...
 
virtual const TCHAR * GetName () const =0
 Gets the element name. More...
 
virtual void SetName (const TCHAR *InName)=0
 Sets the element name. More...
 
virtual const TCHAR * GetLabel () const =0
 Gets the element label used in the UI. More...
 
virtual void SetLabel (const TCHAR *InLabel)=0
 Sets the element label used in the UI. More...
 
virtual FMD5Hash CalculateElementHash (bool bForce)=0
 Return a MD5 hash of the content of the Element. More...
 

Static Public Attributes

static bool bUseRealisticFresnel
 Realistic fresnel creates a pretty more complex node tree based on the actual fresnel equation. More...
 
static bool 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. More...
 

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.

◆ GetDisplace()

virtual double IDatasmithShaderElement::GetDisplace ( ) const
pure virtual

Get the displacement value in centimeters.

Implemented in FDatasmithShaderElementImpl.

◆ GetDisplaceComp() [1/2]

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

Get the displacement compound map.

Implemented in FDatasmithShaderElementImpl.

◆ GetDisplaceComp() [2/2]

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

Get the displacement compound map.

Implemented in FDatasmithShaderElementImpl.

◆ GetDisplaceSubDivision()

virtual double IDatasmithShaderElement::GetDisplaceSubDivision ( ) const
pure virtual

Get the displacement subdivision multiplier.

Implemented in FDatasmithShaderElementImpl.

◆ GetDisplaceTexture()

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

Get the displacement filename.

Implemented in FDatasmithShaderElementImpl.

◆ GetDisplaceTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetDisplaceTextureSampler ( ) const
pure virtual

Get the displacement UV coordinates.

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitColor()

virtual FLinearColor IDatasmithShaderElement::GetEmitColor ( ) const
pure virtual

Get the emmitance color in linear space.

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitComp() [1/2]

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

Get the emmitance compound map.

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitComp() [2/2]

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

Get the emmitance compound map.

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitPower()

virtual double IDatasmithShaderElement::GetEmitPower ( ) const
pure virtual

Get the emmitance power in lumens.

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitTemperature()

virtual double IDatasmithShaderElement::GetEmitTemperature ( ) const
pure virtual

Get the emmitance temperature color.

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitTexture()

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

Get the emmitance filename.

Implemented in FDatasmithShaderElementImpl.

◆ GetEmitTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetEmitTextureSampler ( ) const
pure virtual

Get the emmitance 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 diffuse compound map.

Implemented in FDatasmithShaderElementImpl.

◆ GetMetalComp() [2/2]

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

Get the diffuse compound map.

Implemented in FDatasmithShaderElementImpl.

◆ GetMetalTexture()

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

Get the diffuse filename.

Implemented in FDatasmithShaderElementImpl.

◆ GetMetalTextureSampler()

virtual FDatasmithTextureSampler IDatasmithShaderElement::GetMetalTextureSampler ( ) const
pure virtual

Get the diffuse 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.

◆ SetDisplace()

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

Set the displacement value in centimeters.

Implemented in FDatasmithShaderElementImpl.

◆ SetDisplaceComp()

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

Set the displacement compound map.

Implemented in FDatasmithShaderElementImpl.

◆ SetDisplaceSubDivision()

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

Set the displacement subdivision multiplier.

Implemented in FDatasmithShaderElementImpl.

◆ SetDisplaceTexture()

virtual void IDatasmithShaderElement::SetDisplaceTexture ( const TCHAR *  Value)
pure virtual

Set the displacement filename.

Implemented in FDatasmithShaderElementImpl.

◆ SetDisplaceTextureSampler()

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

Set the displacement UV coordinates.

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitColor()

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

Set the emmitance color in linear space.

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitComp()

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

Set the emmitance compound map.

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitPower()

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

Set the emmitance power in lumens.

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitTemperature()

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

Set the emmitance temperature color.

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitTexture()

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

Set the emmitance filename.

Implemented in FDatasmithShaderElementImpl.

◆ SetEmitTextureSampler()

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

Set the emmitance 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 diffuse compound map.

Implemented in FDatasmithShaderElementImpl.

◆ SetMetalTexture()

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

Set the diffuse filename.

Implemented in FDatasmithShaderElementImpl.

◆ SetMetalTextureSampler()

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

Set the diffuse 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
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
static

Realistic fresnel creates a pretty more complex node tree based on the actual fresnel equation.

If this param is not enabled an aproximation will be used.

It has no effect if bDisableReflectionFresnel is set to true.


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