ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
IArticyObjectWithAttachments Class Reference

#include <ArticyObjectWithAttachments.h>

Inheritance diagram for IArticyObjectWithAttachments:
IArticyObjectWith_Base IArticyReflectable

Public Member Functions

virtual TArray< FArticyId > & GetAttachmentIds ()
virtual const TArray< FArticyId > & GetAttachmentIds () const
virtual TArray< UArticyPrimitive * > GetAttachments () const
virtual TArray< FArticyId > & SetAttachmentIds (UPARAM(ref) const TArray< FArticyId > &IDs)
virtual TArray< UArticyPrimitive * > SetAttachments (UPARAM(ref) const TArray< UArticyPrimitive * > &Objects)
Public Member Functions inherited from IArticyReflectable
template<typename TValue>
TValue SetProp (FName Property, TValue Value, int32 ArrayIndex=0)
template<typename TValue>
TValue & GetProp (FName Property, int32 ArrayIndex=0)
template<typename TValue>
const TValue & GetProp (FName Property, int32 ArrayIndex=0) const
template<typename TValue>
TValue * GetPropPtr (FName Property, int32 ArrayIndex=0) const
FProperty * GetProperty (FName Property) const
virtual UClass * GetObjectClass () const

Additional Inherited Members

Static Public Member Functions inherited from IArticyReflectable
static bool HasProperty (const UClass *Class, const FName &Property)
Public Attributes inherited from IArticyReflectable
FReportChangedDelegate ReportChanged
Protected Member Functions inherited from IArticyObjectWith_Base
template<typename PropType>
PropType & GetProperty (const FName &PropName)
FText GetStringText (UObject *Outer, const FName &PropName, const FText *BackupText=nullptr)

Detailed Description

All objects that have a property called 'Attachments' implement this interface.

Member Function Documentation

◆ GetAttachments()

virtual TArray< UArticyPrimitive * > IArticyObjectWithAttachments::GetAttachments ( ) const
inlinevirtual

Returns an array with a pointer to the referenced attachment objects. NOTE: References that cannot be resolved (i.e. nullptr) are not contained.

◆ SetAttachments()

virtual TArray< UArticyPrimitive * > IArticyObjectWithAttachments::SetAttachments ( UPARAM(ref) const TArray< UArticyPrimitive * > & Objects)
inlinevirtual

NOTE: Cannot return a reference to the array stored in the object, as that one does not exist!


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