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

#include <DatasmithSceneElementsImpl.h>

+ Inheritance diagram for FDatasmithActorElementImpl< InterfaceType >:

Public Member Functions

 FDatasmithActorElementImpl (const TCHAR *InName, EDatasmithElementType InType)
 
virtual FVector GetTranslation () const override
 
virtual void SetTranslation (double InX, double InY, double InZ, bool bKeepChildrenRelative) override
 
virtual void SetTranslation (const FVector &Value, bool bKeepChildrenRelative) override
 
virtual FVector GetScale () const override
 
virtual void SetScale (double InX, double InY, double InZ, bool bKeepChildrenRelative) override
 
virtual void SetScale (const FVector &Value, bool bKeepChildrenRelative) override
 
virtual FQuat GetRotation () const override
 
virtual void SetRotation (double InX, double InY, double InZ, double InW, bool bKeepChildrenRelative) override
 
virtual void SetRotation (const FQuat &Value, bool bKeepChildrenRelative) override
 
virtual FTransform GetRelativeTransform () const override
 
virtual const TCHARGetLayer () const override
 
virtual void SetLayer (const TCHAR *InLayer) override
 
virtual void AddTag (const TCHAR *InTag) override
 
virtual void ResetTags () override
 
virtual int32 GetTagsCount () const
 
virtual const TCHARGetTag (int32 TagIndex) const override
 
virtual void AddChild (const TSharedPtr< IDatasmithActorElement > &InChild, EDatasmithActorAttachmentRule AttachementRule=EDatasmithActorAttachmentRule::KeepWorldTransform) override
 
virtual int32 GetChildrenCount () const override
 
virtual TSharedPtr< IDatasmithActorElementGetChild (int32 InIndex) override
 
virtual const TSharedPtr< IDatasmithActorElement > & GetChild (int32 InIndex) const override
 
virtual void RemoveChild (const TSharedPtr< IDatasmithActorElement > &InChild) override
 
virtual const TSharedPtr< IDatasmithActorElement > & GetParentActor () const override
 
virtual void SetIsAComponent (bool Value) override
 
virtual bool IsAComponent () const override
 
virtual void SetVisibility (bool bInVisibility) override
 
virtual bool GetVisibility () const override
 
virtual void SetCastShadow (bool bInCastShadow) override
 
virtual bool GetCastShadow () const override
 
virtual void SetMobility (EDatasmithActorMobilityType InMobility) override
 
virtual EDatasmithActorMobilityType GetMobility () const 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 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< FDatasmithActorElementImpl< InterfaceType > >
TSharedRef< FDatasmithActorElementImpl< InterfaceType >, Mode > AsShared ()
 
TSharedRef< FDatasmithActorElementImpl< InterfaceType > const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FDatasmithActorElementImpl< InterfaceType >, Mode > AsWeak ()
 
TWeakPtr< FDatasmithActorElementImpl< 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

void ConvertChildsToRelative ()
 
void ConvertChildsToWorld ()
 
void SetInternalRotation (const FQuat &Value)
 
void SetInternalScale (const FVector &Value)
 
void SetInternalTranslation (const FVector &Value)
 
- Protected Member Functions inherited from FDatasmithElementImpl< InterfaceType >
virtual bool IsSubTypeInternal (uint64 InSubType) const
 
EDatasmithElementType GetElementType () const
 
uint64 GetSubType () const
 
- Protected Member Functions inherited from TSharedFromThis< FDatasmithActorElementImpl< InterfaceType > >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from TSharedFromThis< FDatasmithActorElementImpl< InterfaceType > >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 
- 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

◆ FDatasmithActorElementImpl()

template<typename T >
FDatasmithActorElementImpl< T >::FDatasmithActorElementImpl ( const TCHAR InName,
EDatasmithElementType  InType 
)
inline

Member Function Documentation

◆ AddChild()

template<typename T >
void FDatasmithActorElementImpl< T >::AddChild ( const TSharedPtr< IDatasmithActorElement > &  InChild,
EDatasmithActorAttachmentRule  AttachementRule = EDatasmithActorAttachmentRule::KeepWorldTransform 
)
inlineoverridevirtual

◆ AddTag()

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::AddTag ( const TCHAR InTag)
inlineoverridevirtual

◆ ConvertChildsToRelative()

template<typename T >
void FDatasmithActorElementImpl< T >::ConvertChildsToRelative ( )
inlineprotected

Converts all children's transforms to relative

◆ ConvertChildsToWorld()

template<typename T >
void FDatasmithActorElementImpl< T >::ConvertChildsToWorld ( )
inlineprotected

Converts all children's transforms to world

◆ GetCastShadow()

template<typename InterfaceType >
virtual bool FDatasmithActorElementImpl< InterfaceType >::GetCastShadow ( ) const
inlineoverridevirtual

◆ GetChild() [1/2]

template<typename InterfaceType >
virtual const TSharedPtr< IDatasmithActorElement > & FDatasmithActorElementImpl< InterfaceType >::GetChild ( int32  InIndex) const
inlineoverridevirtual

◆ GetChild() [2/2]

template<typename InterfaceType >
virtual TSharedPtr< IDatasmithActorElement > FDatasmithActorElementImpl< InterfaceType >::GetChild ( int32  InIndex)
inlineoverridevirtual

Get the 'InIndex'th child of the actor

◆ GetChildrenCount()

template<typename InterfaceType >
virtual int32 FDatasmithActorElementImpl< InterfaceType >::GetChildrenCount ( ) const
inlineoverridevirtual

◆ GetLayer()

template<typename InterfaceType >
virtual const TCHAR * FDatasmithActorElementImpl< InterfaceType >::GetLayer ( ) const
inlineoverridevirtual

◆ GetMobility()

template<typename InterfaceType >
virtual EDatasmithActorMobilityType FDatasmithActorElementImpl< InterfaceType >::GetMobility ( ) const
inlineoverridevirtual

◆ GetParentActor()

template<typename InterfaceType >
virtual const TSharedPtr< IDatasmithActorElement > & FDatasmithActorElementImpl< InterfaceType >::GetParentActor ( ) const
inlineoverridevirtual

◆ GetRelativeTransform()

template<typename T >
FTransform FDatasmithActorElementImpl< T >::GetRelativeTransform ( ) const
inlineoverridevirtual

◆ GetRotation()

template<typename InterfaceType >
virtual FQuat FDatasmithActorElementImpl< InterfaceType >::GetRotation ( ) const
inlineoverridevirtual

◆ GetScale()

template<typename InterfaceType >
virtual FVector FDatasmithActorElementImpl< InterfaceType >::GetScale ( ) const
inlineoverridevirtual

◆ GetTag()

template<typename InterfaceType >
virtual const TCHAR * FDatasmithActorElementImpl< InterfaceType >::GetTag ( int32  TagIndex) const
inlineoverridevirtual

◆ GetTagsCount()

template<typename InterfaceType >
virtual int32 FDatasmithActorElementImpl< InterfaceType >::GetTagsCount ( ) const
inlinevirtual

◆ GetTranslation()

template<typename InterfaceType >
virtual FVector FDatasmithActorElementImpl< InterfaceType >::GetTranslation ( ) const
inlineoverridevirtual

◆ GetVisibility()

template<typename InterfaceType >
virtual bool FDatasmithActorElementImpl< InterfaceType >::GetVisibility ( ) const
inlineoverridevirtual

◆ IsAComponent()

template<typename InterfaceType >
virtual bool FDatasmithActorElementImpl< InterfaceType >::IsAComponent ( ) const
inlineoverridevirtual

◆ RemoveChild()

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::RemoveChild ( const TSharedPtr< IDatasmithActorElement > &  InChild)
inlineoverridevirtual

◆ ResetTags()

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::ResetTags ( )
inlineoverridevirtual

◆ SetCastShadow()

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::SetCastShadow ( bool  bInCastShadow)
inlineoverridevirtual

◆ SetInternalRotation()

template<typename InterfaceType >
void FDatasmithActorElementImpl< InterfaceType >::SetInternalRotation ( const FQuat Value)
inlineprotected

◆ SetInternalScale()

template<typename InterfaceType >
void FDatasmithActorElementImpl< InterfaceType >::SetInternalScale ( const FVector Value)
inlineprotected

◆ SetInternalTranslation()

template<typename InterfaceType >
void FDatasmithActorElementImpl< InterfaceType >::SetInternalTranslation ( const FVector Value)
inlineprotected

◆ SetIsAComponent()

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::SetIsAComponent ( bool  Value)
inlineoverridevirtual

◆ SetLayer()

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::SetLayer ( const TCHAR InLayer)
inlineoverridevirtual

◆ SetMobility()

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::SetMobility ( EDatasmithActorMobilityType  InMobility)
inlineoverridevirtual

◆ SetRotation() [1/2]

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::SetRotation ( const FQuat Value,
bool  bKeepChildrenRelative 
)
inlineoverridevirtual

◆ SetRotation() [2/2]

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::SetRotation ( double  InX,
double  InY,
double  InZ,
double  InW,
bool  bKeepChildrenRelative 
)
inlineoverridevirtual

◆ SetScale() [1/2]

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::SetScale ( const FVector Value,
bool  bKeepChildrenRelative 
)
inlineoverridevirtual

◆ SetScale() [2/2]

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::SetScale ( double  InX,
double  InY,
double  InZ,
bool  bKeepChildrenRelative 
)
inlineoverridevirtual

◆ SetTranslation() [1/2]

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::SetTranslation ( const FVector Value,
bool  bKeepChildrenRelative 
)
inlineoverridevirtual

◆ SetTranslation() [2/2]

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::SetTranslation ( double  InX,
double  InY,
double  InZ,
bool  bKeepChildrenRelative 
)
inlineoverridevirtual

◆ SetVisibility()

template<typename InterfaceType >
virtual void FDatasmithActorElementImpl< InterfaceType >::SetVisibility ( bool  bInVisibility)
inlineoverridevirtual

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