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

#include <DatasmithSceneElementsImpl.h>

+ Inheritance diagram for FDatasmithCustomActorElementImpl< InterfaceType >:

Public Member Functions

 FDatasmithCustomActorElementImpl (const TCHAR *InName, EDatasmithElementType InChildType=EDatasmithElementType::None)
 
virtual const TCHARGetClassOrPathName () const override
 
virtual void SetClassOrPathName (const TCHAR *InClassOrPathName) override
 
virtual int32 GetPropertiesCount () const override
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 Index) const override
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *InName) const override
 
virtual void AddProperty (const TSharedPtr< IDatasmithKeyValueProperty > &InProperty) override
 
virtual void RemoveProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property) override
 
- Public Member Functions inherited from FDatasmithActorElementImpl< InterfaceType >
 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

int32 AddPropertyInternal (const TCHAR *InKey, EDatasmithKeyValuePropertyType InType, const TCHAR *InValue)
 
- Protected Member Functions inherited from FDatasmithActorElementImpl< InterfaceType >
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

◆ FDatasmithCustomActorElementImpl()

template<typename InterfaceType = IDatasmithCustomActorElement>
FDatasmithCustomActorElementImpl< InterfaceType >::FDatasmithCustomActorElementImpl ( const TCHAR InName,
EDatasmithElementType  InChildType = EDatasmithElementType::None 
)
inlineexplicit

Member Function Documentation

◆ AddProperty()

template<typename InterfaceType = IDatasmithCustomActorElement>
virtual void FDatasmithCustomActorElementImpl< InterfaceType >::AddProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  InProperty)
inlineoverridevirtual

Add a property to this actor

◆ AddPropertyInternal()

template<typename InterfaceType = IDatasmithCustomActorElement>
int32 FDatasmithCustomActorElementImpl< InterfaceType >::AddPropertyInternal ( const TCHAR InKey,
EDatasmithKeyValuePropertyType  InType,
const TCHAR InValue 
)
inlineprotected

Add a property to this actor

◆ GetClassOrPathName()

template<typename InterfaceType = IDatasmithCustomActorElement>
virtual const TCHAR * FDatasmithCustomActorElementImpl< InterfaceType >::GetClassOrPathName ( ) const
inlineoverridevirtual

The class name or path to the blueprint to instantiate.

◆ GetPropertiesCount()

template<typename InterfaceType = IDatasmithCustomActorElement>
virtual int32 FDatasmithCustomActorElementImpl< InterfaceType >::GetPropertiesCount ( ) const
inlineoverridevirtual

Get the total amount of properties in this actor

◆ GetProperty()

template<typename InterfaceType = IDatasmithCustomActorElement>
virtual const TSharedPtr< IDatasmithKeyValueProperty > & FDatasmithCustomActorElementImpl< InterfaceType >::GetProperty ( int32  Index) const
inlineoverridevirtual

Get the property i-th of this actor

◆ GetPropertyByName()

template<typename InterfaceType = IDatasmithCustomActorElement>
virtual const TSharedPtr< IDatasmithKeyValueProperty > & FDatasmithCustomActorElementImpl< InterfaceType >::GetPropertyByName ( const TCHAR InName) const
inlineoverridevirtual

Get a property by its name if it exists

◆ RemoveProperty()

template<typename InterfaceType = IDatasmithCustomActorElement>
virtual void FDatasmithCustomActorElementImpl< InterfaceType >::RemoveProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  Property)
inlineoverridevirtual

Removes a property from this actor, doesn't preserve ordering

◆ SetClassOrPathName()

template<typename InterfaceType = IDatasmithCustomActorElement>
virtual void FDatasmithCustomActorElementImpl< InterfaceType >::SetClassOrPathName ( const TCHAR InClassOrPathName)
inlineoverridevirtual

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