UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FDatasmithMaterialElementImpl Class Reference

#include <DatasmithSceneElementsImpl.h>

+ Inheritance diagram for FDatasmithMaterialElementImpl:

Public Member Functions

 FDatasmithMaterialElementImpl (const TCHAR *InName)
 
virtual bool IsSingleShaderMaterial () const override
 
virtual bool IsClearCoatMaterial () const override
 
virtual void AddShader (const TSharedPtr< IDatasmithShaderElement > &InShader) override
 
virtual int32 GetShadersCount () const override
 
virtual TSharedPtr< IDatasmithShaderElement > & GetShader (int32 InIndex) override
 
virtual const TSharedPtr< IDatasmithShaderElement > & GetShader (int32 InIndex) const override
 
- Public Member Functions inherited from FDatasmithBaseMaterialElementImpl< IDatasmithMaterialElement >
 FDatasmithBaseMaterialElementImpl (const TCHAR *InName, EDatasmithElementType ChildType)
 
- Public Member Functions inherited from FDatasmithElementImpl< InterfaceType >
 FDatasmithElementImpl (const TCHAR *InName, EDatasmithElementType InType, uint64 InSubType=0)
 
virtual ~FDatasmithElementImpl ()
 
virtual bool IsA (EDatasmithElementType InType) const override
 
virtual const TCHARGetName () const override
 
virtual void SetName (const TCHAR *InName) override
 
virtual const TCHARGetLabel () const override
 
virtual void SetLabel (const TCHAR *InLabel) override
 
virtual FMD5Hash CalculateElementHash (bool) override
 
virtual TSharedPtr< DirectLink::FSceneGraphSharedStateMakeSharedState () const override
 
virtual const DirectLink::FParameterStoreGetStore () const override
 
virtual DirectLink::FParameterStoreGetStore () override
 

Additional Inherited Members

- Protected Member Functions inherited from FDatasmithElementImpl< InterfaceType >
virtual bool IsSubTypeInternal (uint64 InSubType) const
 
EDatasmithElementType GetElementType () const
 
uint64 GetSubType () const
 
- Protected Attributes inherited from FDatasmithElementImpl< InterfaceType >
FMD5Hash ElementHash
 
DirectLink::FParameterStore Store
 
TReflected< EDatasmithElementType, uint64Type
 
TReflected< uint64Subtype
 
TReflected< FString > Name
 
TReflected< FString > Label
 

Constructor & Destructor Documentation

◆ FDatasmithMaterialElementImpl()

FDatasmithMaterialElementImpl::FDatasmithMaterialElementImpl ( const TCHAR InName)
explicit

Member Function Documentation

◆ AddShader()

void FDatasmithMaterialElementImpl::AddShader ( const TSharedPtr< IDatasmithShaderElement > &  InShader)
overridevirtual

◆ GetShader() [1/2]

const TSharedPtr< IDatasmithShaderElement > & FDatasmithMaterialElementImpl::GetShader ( int32  InIndex) const
overridevirtual

◆ GetShader() [2/2]

TSharedPtr< IDatasmithShaderElement > & FDatasmithMaterialElementImpl::GetShader ( int32  InIndex)
overridevirtual

◆ GetShadersCount()

int32 FDatasmithMaterialElementImpl::GetShadersCount ( ) const
overridevirtual

◆ IsClearCoatMaterial()

bool FDatasmithMaterialElementImpl::IsClearCoatMaterial ( ) const
overridevirtual

◆ IsSingleShaderMaterial()

bool FDatasmithMaterialElementImpl::IsSingleShaderMaterial ( ) const
overridevirtual

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