UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FDatasmithMaterialExpressionImpl< InterfaceType > Class Template Referenceabstract

#include <DatasmithMaterialElementsImpl.h>

+ Inheritance diagram for FDatasmithMaterialExpressionImpl< InterfaceType >:

Public Member Functions

 FDatasmithMaterialExpressionImpl (EDatasmithMaterialExpressionType InSubType)
 
virtual ~FDatasmithMaterialExpressionImpl ()=default
 
virtual EDatasmithMaterialExpressionType GetExpressionType () const override
 
virtual bool IsSubType (const EDatasmithMaterialExpressionType ExpressionType) const override
 
virtual bool IsSubTypeInternal (uint64 InSubType) const override
 
virtual void ConnectExpression (IDatasmithExpressionInput &ExpressionInput) override
 
virtual void ConnectExpression (IDatasmithExpressionInput &ExpressionInput, int32 OutputIndex) override
 
virtual int32 GetInputCount () const override
 
virtual IDatasmithExpressionInputGetInput (int32 Index) override
 
virtual const IDatasmithExpressionInputGetInput (int32 Index) const override
 
virtual int32 GetDefaultOutputIndex () const override
 
virtual void SetDefaultOutputIndex (int32 InDefaultOutputIndex) override
 
virtual void ResetExpression () override
 
virtual void ResetExpressionImpl ()=0
 
- 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
 
- Public Member Functions inherited from TSharedFromThis< FDatasmithMaterialExpressionImpl< InterfaceType > >
TSharedRef< FDatasmithMaterialExpressionImpl< InterfaceType >, Mode > AsShared ()
 
TSharedRef< FDatasmithMaterialExpressionImpl< InterfaceType > const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FDatasmithMaterialExpressionImpl< InterfaceType >, Mode > AsWeak ()
 
TWeakPtr< FDatasmithMaterialExpressionImpl< InterfaceType > const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Protected Member Functions

FMD5Hash ComputeHash ()
 
- Protected Member Functions inherited from FDatasmithElementImpl< InterfaceType >
EDatasmithElementType GetElementType () const
 
uint64 GetSubType () const
 
- Protected Member Functions inherited from TSharedFromThis< FDatasmithMaterialExpressionImpl< InterfaceType > >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 

Protected Attributes

TDatasmithReferenceArrayProxy< FDatasmithExpressionOutputImplOutputs
 
TReflected< int32DefaultOutputIndex
 
- Protected Attributes inherited from FDatasmithElementImpl< InterfaceType >
FMD5Hash ElementHash
 
DirectLink::FParameterStore Store
 
TReflected< EDatasmithElementType, uint64Type
 
TReflected< uint64Subtype
 
TReflected< FString > Name
 
TReflected< FString > Label
 

Additional Inherited Members

- Static Protected Member Functions inherited from TSharedFromThis< FDatasmithMaterialExpressionImpl< InterfaceType > >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Constructor & Destructor Documentation

◆ FDatasmithMaterialExpressionImpl()

◆ ~FDatasmithMaterialExpressionImpl()

template<typename InterfaceType >
virtual FDatasmithMaterialExpressionImpl< InterfaceType >::~FDatasmithMaterialExpressionImpl ( )
virtualdefault

Member Function Documentation

◆ ComputeHash()

template<typename InterfaceType >
FMD5Hash FDatasmithMaterialExpressionImpl< InterfaceType >::ComputeHash ( )
inlineprotected

◆ ConnectExpression() [1/2]

template<typename InterfaceType >
virtual void FDatasmithMaterialExpressionImpl< InterfaceType >::ConnectExpression ( IDatasmithExpressionInput ExpressionInput)
inlineoverridevirtual

◆ ConnectExpression() [2/2]

template<typename InterfaceType >
void FDatasmithMaterialExpressionImpl< InterfaceType >::ConnectExpression ( IDatasmithExpressionInput ExpressionInput,
int32  OutputIndex 
)
inlineoverridevirtual

◆ GetDefaultOutputIndex()

template<typename InterfaceType >
virtual int32 FDatasmithMaterialExpressionImpl< InterfaceType >::GetDefaultOutputIndex ( ) const
inlineoverridevirtual

◆ GetExpressionType()

template<typename InterfaceType >
virtual EDatasmithMaterialExpressionType FDatasmithMaterialExpressionImpl< InterfaceType >::GetExpressionType ( ) const
inlineoverridevirtual

◆ GetInput() [1/2]

◆ GetInput() [2/2]

◆ GetInputCount()

◆ IsSubType()

template<typename InterfaceType >
virtual bool FDatasmithMaterialExpressionImpl< InterfaceType >::IsSubType ( const EDatasmithMaterialExpressionType  ExpressionType) const
inlineoverridevirtual

◆ IsSubTypeInternal()

template<typename InterfaceType >
virtual bool FDatasmithMaterialExpressionImpl< InterfaceType >::IsSubTypeInternal ( uint64  InSubType) const
inlineoverridevirtual

◆ ResetExpression()

template<typename InterfaceType >
void FDatasmithMaterialExpressionImpl< InterfaceType >::ResetExpression ( )
overridevirtual

◆ ResetExpressionImpl()

◆ SetDefaultOutputIndex()

template<typename InterfaceType >
virtual void FDatasmithMaterialExpressionImpl< InterfaceType >::SetDefaultOutputIndex ( int32  InDefaultOutputIndex)
inlineoverridevirtual

Member Data Documentation

◆ DefaultOutputIndex

template<typename InterfaceType >
TReflected<int32> FDatasmithMaterialExpressionImpl< InterfaceType >::DefaultOutputIndex
protected

◆ Outputs

template<typename InterfaceType >
TDatasmithReferenceArrayProxy<FDatasmithExpressionOutputImpl> FDatasmithMaterialExpressionImpl< InterfaceType >::Outputs
protected

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