UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IDatasmithCustomActorElement Class Referenceabstract

#include <IDatasmithSceneElements.h>

+ Inheritance diagram for IDatasmithCustomActorElement:

Public Member Functions

virtual const TCHARGetClassOrPathName () const =0
 
virtual void SetClassOrPathName (const TCHAR *InClassOrPathName)=0
 
virtual int32 GetPropertiesCount () const =0
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i) const =0
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *Name) const =0
 
virtual void AddProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property)=0
 
virtual void RemoveProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property)=0
 
- Public Member Functions inherited from IDatasmithActorElement
virtual ~IDatasmithActorElement ()
 
virtual FVector GetTranslation () const =0
 
virtual void SetTranslation (double InX, double InY, double InZ, bool bKeepChildrenRelative=true)=0
 
virtual void SetTranslation (const FVector &Value, bool bKeepChildrenRelative=true)=0
 
virtual FVector GetScale () const =0
 
virtual void SetScale (double InX, double InY, double InZ, bool bKeepChildrenRelative=true)=0
 
virtual void SetScale (const FVector &Value, bool bKeepChildrenRelative=true)=0
 
virtual FQuat GetRotation () const =0
 
virtual void SetRotation (double InX, double InY, double InZ, double InW, bool bKeepChildrenRelative=true)=0
 
virtual void SetRotation (const FQuat &Value, bool bKeepChildrenRelative=true)=0
 
virtual FTransform GetRelativeTransform () const =0
 
virtual const TCHARGetLayer () const =0
 
virtual void SetLayer (const TCHAR *InLayer)=0
 
virtual void AddTag (const TCHAR *InTag)=0
 
virtual void ResetTags ()=0
 
virtual int32 GetTagsCount () const =0
 
virtual const TCHARGetTag (int32 TagIndex) const =0
 
virtual void AddChild (const TSharedPtr< IDatasmithActorElement > &InChild, EDatasmithActorAttachmentRule AttachementRule=EDatasmithActorAttachmentRule::KeepWorldTransform)=0
 
virtual int32 GetChildrenCount () const =0
 
virtual TSharedPtr< IDatasmithActorElementGetChild (int32 InIndex)=0
 
virtual const TSharedPtr< IDatasmithActorElement > & GetChild (int32 InIndex) const =0
 
virtual void RemoveChild (const TSharedPtr< IDatasmithActorElement > &InChild)=0
 
virtual const TSharedPtr< IDatasmithActorElement > & GetParentActor () const =0
 
virtual void SetIsAComponent (bool Value)=0
 
virtual bool IsAComponent () const =0
 
virtual void SetVisibility (bool bInVisibility)=0
 
virtual bool GetVisibility () const =0
 
virtual void SetCastShadow (bool bInCastShadow)=0
 
virtual bool GetCastShadow () const =0
 
virtual void SetMobility (EDatasmithActorMobilityType Mobility)=0
 
virtual EDatasmithActorMobilityType GetMobility () const =0
 
- Public Member Functions inherited from IDatasmithElement
virtual bool IsA (EDatasmithElementType Type) const =0
 
virtual const TCHARGetName () const =0
 
virtual void SetName (const TCHAR *InName)=0
 
virtual const TCHARGetLabel () const =0
 
virtual void SetLabel (const TCHAR *InLabel)=0
 
virtual FMD5Hash CalculateElementHash (bool bForce)=0
 

Member Function Documentation

◆ AddProperty()

virtual void IDatasmithCustomActorElement::AddProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  Property)
pure virtual

Add a property to this actor

◆ GetClassOrPathName()

virtual const TCHAR * IDatasmithCustomActorElement::GetClassOrPathName ( ) const
pure virtual

The class name or path to the blueprint to instantiate.

◆ GetPropertiesCount()

virtual int32 IDatasmithCustomActorElement::GetPropertiesCount ( ) const
pure virtual

Get the total amount of properties in this actor

◆ GetProperty()

virtual const TSharedPtr< IDatasmithKeyValueProperty > & IDatasmithCustomActorElement::GetProperty ( int32  i) const
pure virtual

Get the property i-th of this actor

◆ GetPropertyByName()

virtual const TSharedPtr< IDatasmithKeyValueProperty > & IDatasmithCustomActorElement::GetPropertyByName ( const TCHAR Name) const
pure virtual

Get a property by its name if it exists

◆ RemoveProperty()

virtual void IDatasmithCustomActorElement::RemoveProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  Property)
pure virtual

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

◆ SetClassOrPathName()

virtual void IDatasmithCustomActorElement::SetClassOrPathName ( const TCHAR InClassOrPathName)
pure virtual

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