IDatasmithShaderElement

Windows
MacOS
Linux

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

Name Description

Public function Virtual

~IDatasmithShaderElement()

Functions

Name Description

Public function Const

EDatasmithBl...

 

GetBlendMode()

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

Public function Const

double

 

GetBumpAmount()

Get the bump/normal amount

Public function Const

const TShare...

 

GetBumpComp()

Get the bumpmapping compound map

Public function

TSharedPtr< ...

 

GetBumpComp()

Get the bumpmapping compound map

Public function Const

const TCHAR ...

 

GetBumpTexture()

Get the bumpmapping filename

Public function Const

FDatasmithTe...

 

GetBumpTextureSampler()

Get the bumpmapping UV coordinates

Public function Const

FDatasmithTe...

 

GetDiffTextureSampler()

Get the diffuse UV coordinates

Public function Const

FLinearColor

 

GetDiffuseColor()

Get the diffuse color in linear space

Public function Const

const TShare...

 

GetDiffuseComp()

Get the diffuse compound map

Public function

TSharedPtr< ...

 

GetDiffuseComp()

Get the diffuse compound map

Public function Const

const TCHAR ...

 

GetDiffuseTexture()

Get the diffuse filename

Public function Const

double

 

GetDisplace()

Get the displacement value in centimeters

Public function

TSharedPtr< ...

 

GetDisplaceComp()

Get the displacement compound map

Public function Const

const TShare...

 

GetDisplaceComp()

Get the displacement compound map

Public function Const

double

 

GetDisplaceSubDivision()

Get the displacement subdivision multiplier

Public function Const

const TCHAR ...

 

GetDisplaceTexture()

Get the displacement filename

Public function Const

FDatasmithTe...

 

GetDisplaceTextureSampler()

Get the displacement UV coordinates

Public function Const

FLinearColor

 

GetEmitColor()

Get the emmitance color in linear space

Public function Const

const TShare...

 

GetEmitComp()

Get the emmitance compound map

Public function

TSharedPtr< ...

 

GetEmitComp()

Get the emmitance compound map

Public function Const

double

 

GetEmitPower()

Get the emmitance power in lumens

Public function Const

double

 

GetEmitTemperature()

Get the emmitance temperature color

Public function Const

const TCHAR ...

 

GetEmitTexture()

Get the emmitance filename

Public function Const

FDatasmithTe...

 

GetEmitTextureSampler()

Get the emmitance UV coordinates

Public function Const

double

 

GetIOR()

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

Public function Const

double

 

GetIORk()

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

Public function Const

double

 

GetIORRefra()

Get the InIndex of Refraction value

Public function Const

bool

 

GetIsStackedLayer()

Get the if this layer is weighted as a stack.

Public function Const

bool

 

GetLightOnly()

Gets material is used as lighting only.

Public function Const

const TShare...

 

GetMaskComp()

Get the opacity mask compound map

Public function

TSharedPtr< ...

 

GetMaskComp()

Get the opacity mask compound map

Public function Const

const TCHAR ...

 

GetMaskTexture()

Get the opacity mask filename

Public function Const

FDatasmithTe...

 

GetMaskTextureSampler()

Get the opacity mask UV coordinates

Public function Const

double

 

GetMetal()

Get the metalness value

Public function Const

const TShare...

 

GetMetalComp()

Get the diffuse compound map

Public function

TSharedPtr< ...

 

GetMetalComp()

Get the diffuse compound map

Public function Const

const TCHAR ...

 

GetMetalTexture()

Get the diffuse filename

Public function Const

FDatasmithTe...

 

GetMetalTextureSampler()

Get the diffuse UV coordinates

Public function

TSharedPtr< ...

 

GetNormalComp()

Get the normalmapping compound map

Public function Const

const TShare...

 

GetNormalComp()

Get the normalmapping compound map

Public function Const

const TCHAR ...

 

GetNormalTexture()

Get the normalmapping filename

Public function Const

FDatasmithTe...

 

GetNormalTextureSampler()

Get the normalmapping UV coordinates

Public function

TSharedPtr< ...

 

GetRefleComp()

Get the reflectance compound map

Public function Const

const TShare...

 

GetRefleComp()

Get the reflectance compound map

Public function Const

FLinearColor

 

GetReflectanceColor()

Get the reflectance color in linear space

Public function Const

const TCHAR ...

 

GetReflectanceTexture()

Get the reflectance filename

Public function Const

FDatasmithTe...

 

GetRefleTextureSampler()

Get the reflectance UV coordinates

Public function Const

double

 

GetRoughness()

Get the roughness color in linear space

Public function Const

const TShare...

 

GetRoughnessComp()

Get the roughness compound map

Public function

TSharedPtr< ...

 

GetRoughnessComp()

Get the roughness compound map

Public function Const

const TCHAR ...

 

GetRoughnessTexture()

Get the roughness filename

Public function Const

FDatasmithTe...

 

GetRoughTextureSampler()

Get the roughness UV coordinates

Public function Const

const EDatas...

 

GetShaderUsage()

Get the domain of this shader

Public function

TSharedPtr< ...

 

GetTransComp()

Get the transparency compound map

Public function Const

const TShare...

 

GetTransComp()

Get the transparency compound map

Public function Const

FLinearColor

 

GetTransparencyColor()

Get the transparency color in linear space

Public function Const

const TCHAR ...

 

GetTransparencyTexture()

Get the transparency filename

Public function Const

FDatasmithTe...

 

GetTransTextureSampler()

Get the transparency UV coordinates

Public function Const

bool

 

GetTwoSided()

Get the two sided material attribute

Public function Const

const bool

 

GetUseEmissiveForDynamicAreaLighting()

Set use Emissive for dynamic area lighting

Public function Const

FLinearColor

 

GetWeightColor()

Get the weight color in linear space.

Public function Const

const TShare...

 

GetWeightComp()

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

Public function

TSharedPtr< ...

 

GetWeightComp()

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

Public function Const

const TCHAR ...

 

GetWeightTexture()

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

Public function Const

FDatasmithTe...

 

GetWeightTextureSampler()

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

Public function Const

double

 

GetWeightValue()

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

Public function

void

 

SetBlendMode

(
    EDatasmithBlendMode Value
)

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

Public function

void

 

SetBumpAmount

(
    double Value
)

Set the bump/normal amount

Public function

void

 

SetBumpComp

(
    const TSharedPtr< IDatasmithComposi...
)

Set the bumpmapping compound map

Public function

void

 

SetBumpTexture

(
    const TCHAR* Value
)

Set the bumpmapping filename

Public function

void

 

SetBumpTextureSampler

(
    FDatasmithTextureSampler Value
)

Set the bumpmapping UV coordinates

Public function

void

 

SetDiffTextureSampler

(
    FDatasmithTextureSampler Value
)

Set the diffuse UV coordinates

Public function

void

 

SetDiffuseColor

(
    FLinearColor Value
)

Set the diffuse color in linear space

Public function

void

 

SetDiffuseComp

(
    const TSharedPtr< IDatasmithComposi...
)

Set the diffuse compound map

Public function

void

 

SetDiffuseTexture

(
    const TCHAR* Value
)

Set the diffuse filename

Public function

void

 

SetDisplace

(
    double Value
)

Set the displacement value in centimeters

Public function

void

 

SetDisplaceComp

(
    const TSharedPtr< IDatasmithComposi...
)

Set the displacement compound map

Public function

void

 

SetDisplaceSubDivision

(
    double Value
)

Set the displacement subdivision multiplier

Public function

void

 

SetDisplaceTexture

(
    const TCHAR* Value
)

Set the displacement filename

Public function

void

 

SetDisplaceTextureSampler

(
    FDatasmithTextureSampler Value
)

Set the displacement UV coordinates

Public function

void

 

SetEmitColor

(
    FLinearColor Value
)

Set the emmitance color in linear space

Public function

void

 

SetEmitComp

(
    const TSharedPtr< IDatasmithComposi...
)

Set the emmitance compound map

Public function

void

 

SetEmitPower

(
    double Value
)

Set the emmitance power in lumens

Public function

void

 

SetEmitTemperature

(
    double Value
)

Set the emmitance temperature color

Public function

void

 

SetEmitTexture

(
    const TCHAR* Value
)

Set the emmitance filename

Public function

void

 

SetEmitTextureSampler

(
    FDatasmithTextureSampler Value
)

Set the emmitance UV coordinates

Public function

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

Public function

void

 

SetIORk

(
    double Value
)

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

Public function

void

 

SetIORRefra

(
    double Value
)

Set the InIndex of Refraction value

Public function

void

 

SetIsStackedLayer

(
    bool Value
)

Set the if this layer is weighted as a stack.

Public function

void

 

SetLightOnly

(
    bool Value
)

Sets material is used as lighting only.

Public function

void

 

SetMaskComp

(
    const TSharedPtr< IDatasmithComposi...
)

Set the opacity mask compound map

Public function

void

 

SetMaskTexture

(
    const TCHAR* Value
)

Set the opacity mask filename

Public function

void

 

SetMaskTextureSampler

(
    FDatasmithTextureSampler Value
)

Set the opacity mask UV coordinates

Public function

void

 

SetMetal

(
    double Value
)

Set the metalness value

Public function

void

 

SetMetalComp

(
    const TSharedPtr< IDatasmithComposi...
)

Set the diffuse compound map

Public function

void

 

SetMetalTexture

(
    const TCHAR* Value
)

Set the diffuse filename

Public function

void

 

SetMetalTextureSampler

(
    FDatasmithTextureSampler Value
)

Set the diffuse UV coordinates

Public function

void

 

SetNormalComp

(
    const TSharedPtr< IDatasmithComposi...
)

Set the normalmapping compound map

Public function

void

 

SetNormalTexture

(
    const TCHAR* Value
)

Set the normalmapping filename

Public function

void

 

SetNormalTextureSampler

(
    FDatasmithTextureSampler Value
)

Set the normalmapping UV coordinates

Public function

void

 

SetRefleComp

(
    const TSharedPtr< IDatasmithComposi...
)

Set the reflectance compound map

Public function

void

 

SetReflectanceColor

(
    FLinearColor Value
)

Set the reflectance color in linear space

Public function

void

 

SetReflectanceTexture

(
    const TCHAR* Value
)

Set the reflectance filename

Public function

void

 

SetRefleTextureSampler

(
    FDatasmithTextureSampler Value
)

Set the reflectance UV coordinates

Public function

void

 

SetRoughness

(
    double Value
)

Set the roughness color in linear space

Public function

void

 

SetRoughnessComp

(
    const TSharedPtr< IDatasmithComposi...
)

Set the roughness compound map

Public function

void

 

SetRoughnessTexture

(
    const TCHAR* Value
)

Set the roughness filename

Public function

void

 

SetRoughTextureSampler

(
    FDatasmithTextureSampler Value
)

Set the roughness UV coordinates

Public function

void

 

SetShaderUsage

(
    EDatasmithShaderUsage InMaterialUsa...
)

Set the domain of this shader

Public function

void

 

SetTransComp

(
    const TSharedPtr< IDatasmithComposi...
)

Set the transparency compound map

Public function

void

 

SetTransparencyColor

(
    FLinearColor Value
)

Set the transparency color in linear space

Public function

void

 

SetTransparencyTexture

(
    const TCHAR* Value
)

Set the transparency filename

Public function

void

 

SetTransTextureSampler

(
    FDatasmithTextureSampler Value
)

Set the transparency UV coordinates

Public function

void

 

SetTwoSided

(
    bool Value
)

Set the two sided material attribute

Public function

void

 

SetUseEmissiveForDynamicAreaLighting

(
    bool InUseEmissiveForDynamicAreaLig...
)

Get use Emissive for dynamic area lighting

Public function

void

 

SetWeightColor

(
    FLinearColor Value
)

Set the weight color in linear space.

Public function

void

 

SetWeightComp

(
    const TSharedPtr< IDatasmithComposi...
)

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

Public function

void

 

SetWeightTexture

(
    const TCHAR* Value
)

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

Public function

void

 

SetWeightTextureSampler

(
    FDatasmithTextureSampler Value
)

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

Public function

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss