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

#include <DatasmithMaterialElementsImpl.h>

+ Inheritance diagram for FDatasmithMaterialExpressionGenericImpl:

Public Member Functions

 FDatasmithMaterialExpressionGenericImpl ()
 
virtual void SetExpressionName (const TCHAR *InExpressionName) override
 
virtual const TCHARGetExpressionName () const override
 
int32 GetPropertiesCount () const override
 
const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 InIndex) const override
 
TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 InIndex) override
 
const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *InName) const override
 
TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *InName) override
 
void AddProperty (const TSharedPtr< IDatasmithKeyValueProperty > &InProperty) override
 
virtual int32 GetInputCount () const override
 
virtual IDatasmithExpressionInputGetInput (int32 Index) override
 
virtual const IDatasmithExpressionInputGetInput (int32 Index) const override
 
virtual void ResetExpressionImpl () override
 
FMD5Hash CalculateElementHash (bool bForce) override
 
- Public Member Functions inherited from FDatasmithMaterialExpressionImpl< IDatasmithMaterialExpressionGeneric >
 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 GetDefaultOutputIndex () const override
 
virtual void SetDefaultOutputIndex (int32 InDefaultOutputIndex) override
 
virtual void ResetExpression () override
 
- 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 TSharedPtr< DirectLink::FSceneGraphSharedStateMakeSharedState () const override
 
virtual const DirectLink::FParameterStoreGetStore () const override
 
virtual DirectLink::FParameterStoreGetStore () override
 
- Public Member Functions inherited from TSharedFromThis< ObjectType, Mode >
TSharedRef< ObjectType, Mode > AsShared ()
 
TSharedRef< ObjectType const, Mode > AsShared () const
 
template<typename SubobjectType >
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< ObjectType, Mode > AsWeak ()
 
TWeakPtr< ObjectType const, Mode > AsWeak () const
 
template<typename SubobjectType >
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
template<class SharedPtrType , ESPMode SharedPtrMode, class OtherType >
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
template<class SharedRefType , ESPMode SharedPtrMode, class OtherType >
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Static Public Attributes

static TSharedPtr< IDatasmithKeyValuePropertyNullPropertyPtr
 

Protected Attributes

TDatasmithReferenceArrayProxy< FDatasmithExpressionInputImplInputs
 
TReflected< FString > ExpressionName
 
TDatasmithReferenceArrayProxy< IDatasmithKeyValuePropertyProperties
 
- Protected Attributes inherited from FDatasmithMaterialExpressionImpl< IDatasmithMaterialExpressionGeneric >
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

- Protected Member Functions inherited from FDatasmithMaterialExpressionImpl< IDatasmithMaterialExpressionGeneric >
FMD5Hash ComputeHash ()
 
- Protected Member Functions inherited from FDatasmithElementImpl< InterfaceType >
EDatasmithElementType GetElementType () const
 
uint64 GetSubType () const
 
- Protected Member Functions inherited from TSharedFromThis< ObjectType, Mode >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< ObjectType, Mode >
template<class OtherType >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
template<class OtherType >
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Constructor & Destructor Documentation

◆ FDatasmithMaterialExpressionGenericImpl()

FDatasmithMaterialExpressionGenericImpl::FDatasmithMaterialExpressionGenericImpl ( )
inline

Member Function Documentation

◆ AddProperty()

void FDatasmithMaterialExpressionGenericImpl::AddProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  InProperty)
override

◆ CalculateElementHash()

FMD5Hash FDatasmithMaterialExpressionGenericImpl::CalculateElementHash ( bool  bForce)
inlineoverridevirtual

◆ GetExpressionName()

virtual const TCHAR * FDatasmithMaterialExpressionGenericImpl::GetExpressionName ( ) const
inlineoverridevirtual

◆ GetInput() [1/2]

virtual const IDatasmithExpressionInput * FDatasmithMaterialExpressionGenericImpl::GetInput ( int32  Index) const
inlineoverridevirtual

◆ GetInput() [2/2]

virtual IDatasmithExpressionInput * FDatasmithMaterialExpressionGenericImpl::GetInput ( int32  Index)
inlineoverridevirtual

◆ GetInputCount()

virtual int32 FDatasmithMaterialExpressionGenericImpl::GetInputCount ( ) const
inlineoverridevirtual

◆ GetPropertiesCount()

int32 FDatasmithMaterialExpressionGenericImpl::GetPropertiesCount ( ) const
inlineoverride

◆ GetProperty() [1/2]

const TSharedPtr< IDatasmithKeyValueProperty > & FDatasmithMaterialExpressionGenericImpl::GetProperty ( int32  InIndex) const
override

◆ GetProperty() [2/2]

TSharedPtr< IDatasmithKeyValueProperty > & FDatasmithMaterialExpressionGenericImpl::GetProperty ( int32  InIndex)
override

◆ GetPropertyByName() [1/2]

const TSharedPtr< IDatasmithKeyValueProperty > & FDatasmithMaterialExpressionGenericImpl::GetPropertyByName ( const TCHAR InName) const
override

◆ GetPropertyByName() [2/2]

TSharedPtr< IDatasmithKeyValueProperty > & FDatasmithMaterialExpressionGenericImpl::GetPropertyByName ( const TCHAR InName)
override

◆ ResetExpressionImpl()

virtual void FDatasmithMaterialExpressionGenericImpl::ResetExpressionImpl ( )
inlineoverridevirtual

◆ SetExpressionName()

virtual void FDatasmithMaterialExpressionGenericImpl::SetExpressionName ( const TCHAR InExpressionName)
inlineoverridevirtual

Member Data Documentation

◆ ExpressionName

TReflected<FString> FDatasmithMaterialExpressionGenericImpl::ExpressionName
protected

◆ Inputs

TDatasmithReferenceArrayProxy< FDatasmithExpressionInputImpl > FDatasmithMaterialExpressionGenericImpl::Inputs
protected

◆ NullPropertyPtr

TSharedPtr< IDatasmithKeyValueProperty > FDatasmithMaterialExpressionGenericImpl::NullPropertyPtr
static

◆ Properties

TDatasmithReferenceArrayProxy< IDatasmithKeyValueProperty > FDatasmithMaterialExpressionGenericImpl::Properties
protected

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