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

#include <DatasmithMaterialElementsImpl.h>

+ Inheritance diagram for FDatasmithMaterialExpressionScalarImpl:

Public Member Functions

 FDatasmithMaterialExpressionScalarImpl ()
 
virtual floatGetScalar () override
 
virtual const floatGetScalar () const override
 
virtual void ResetExpressionImpl () override
 
FMD5Hash CalculateElementHash (bool bForce) override
 
- Public Member Functions inherited from FDatasmithExpressionParameterImpl< IDatasmithMaterialExpressionScalar >
 FDatasmithExpressionParameterImpl (EDatasmithMaterialExpressionType InSubType)
 
virtual const TCHARGetGroupName () const override
 
virtual void SetGroupName (const TCHAR *InGroupName) override
 
- Public Member Functions inherited from FDatasmithMaterialExpressionImpl< InterfaceType >
 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
 
- 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< 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 Attributes

TReflected< floatScalar
 
- Protected Attributes inherited from FDatasmithExpressionParameterImpl< IDatasmithMaterialExpressionScalar >
TReflected< FString > GroupName
 
- Protected Attributes inherited from FDatasmithMaterialExpressionImpl< InterfaceType >
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

- Public Types inherited from FDatasmithExpressionParameterImpl< IDatasmithMaterialExpressionScalar >
typedef FDatasmithMaterialExpressionImpl< IDatasmithMaterialExpressionScalarTBaseExpression
 
- Protected Member Functions inherited from FDatasmithExpressionParameterImpl< IDatasmithMaterialExpressionScalar >
FMD5Hash ComputeHash ()
 
- Protected Member Functions inherited from FDatasmithMaterialExpressionImpl< InterfaceType >
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 ()
 
- 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

◆ FDatasmithMaterialExpressionScalarImpl()

FDatasmithMaterialExpressionScalarImpl::FDatasmithMaterialExpressionScalarImpl ( )

Member Function Documentation

◆ CalculateElementHash()

FMD5Hash FDatasmithMaterialExpressionScalarImpl::CalculateElementHash ( bool  bForce)
inlineoverridevirtual

◆ GetScalar() [1/2]

virtual const float & FDatasmithMaterialExpressionScalarImpl::GetScalar ( ) const
inlineoverridevirtual

◆ GetScalar() [2/2]

virtual float & FDatasmithMaterialExpressionScalarImpl::GetScalar ( )
inlineoverridevirtual

◆ ResetExpressionImpl()

virtual void FDatasmithMaterialExpressionScalarImpl::ResetExpressionImpl ( )
inlineoverridevirtual

Member Data Documentation

◆ Scalar

TReflected<float> FDatasmithMaterialExpressionScalarImpl::Scalar
protected

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