FDatasmithCustomActorElementImpl Class Reference
Inheritance diagram for FDatasmithCustomActorElementImpl:
FDatasmithActorElementImpl< IDatasmithCustomActorElement > FDatasmithElementImpl< IDatasmithCustomActorElement > IDatasmithCustomActorElement IDatasmithActorElement IDatasmithElement

Public Member Functions

 FDatasmithCustomActorElementImpl (const TCHAR *InName)
 
virtual const TCHAR * GetClassOrPathName () const override
 The class name or path to the blueprint to instantiate. More...
 
virtual void SetClassOrPathName (const TCHAR *InClassOrPathName) override
 
virtual int32 GetPropertiesCount () const override
 Get the total amount of properties in this actor. More...
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i) const override
 Get the property i-th of this actor. More...
 
virtual TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i) override
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *Name) const override
 Get a property by its name if it exists. More...
 
virtual TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *Name) override
 
virtual void AddProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property) override
 Add a property to this actor. More...
 
virtual void RemoveProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property) override
 Removes a property from this actor, doesn't preserve ordering. More...
 
- Public Member Functions inherited from FDatasmithActorElementImpl< IDatasmithCustomActorElement >
 FDatasmithActorElementImpl (const TCHAR *InName, EDatasmithElementType InType)
 
virtual FVector GetTranslation () const override
 
virtual void SetTranslation (float InX, float InY, float InZ) override
 
virtual void SetTranslation (const FVector &Value) override
 
virtual FVector GetScale () const override
 
virtual void SetScale (float InX, float InY, float InZ) override
 
virtual void SetScale (const FVector &Value) override
 
virtual FQuat GetRotation () const override
 
virtual void SetRotation (float InX, float InY, float InZ, float InW) override
 
virtual void SetRotation (const FQuat &Value) override
 
virtual void SetUseParentTransform (bool bInUseParentTransform) override
 
virtual FTransform GetRelativeTransform () const override
 
virtual const TCHAR * GetLayer () 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 TCHAR * GetTag (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
 Get the 'InIndex'th child of the actor
More...
 
virtual const TSharedPtr< IDatasmithActorElement > & GetChild (int32 InIndex) const override
 
virtual void RemoveChild (const TSharedPtr< IDatasmithActorElement > &InChild) override
 
virtual void SetIsAComponent (bool Value)
 
virtual bool IsAComponent () const override
 
virtual void SetAsSelector (bool bInAsSelector) override
 
virtual bool IsASelector () const override
 
virtual void SetSelectionIndex (int32 InSelectionIdx) override
 Set the index of the child which is active in a selector
More...
 
virtual int32 GetSelectionIndex () const override
 Get the index of the child which is active in a selector. More...
 
virtual void SetVisibility (bool bInVisibility) override
 
virtual bool GetVisibility () const override
 
- Public Member Functions inherited from FDatasmithElementImpl< IDatasmithCustomActorElement >
 FDatasmithElementImpl (const TCHAR *InName, EDatasmithElementType InType, uint64 InSubType=0)
 
virtual bool IsA (EDatasmithElementType InType) const override
 
virtual bool IsSubType (uint64 InSubType) const override
 
virtual const TCHAR * GetName () const override
 
virtual void SetName (const TCHAR *InName) override
 
virtual const TCHAR * GetLabel () const override
 
virtual void SetLabel (const TCHAR *InLabel) override
 
virtual FMD5Hash CalculateElementHash (bool) override
 

Additional Inherited Members

- Protected Member Functions inherited from FDatasmithActorElementImpl< IDatasmithCustomActorElement >
void ConvertChildsToRelative ()
 Converts all childs transforms to relative. More...
 
void ConvertChildsToWorld ()
 Converts all childs transforms to world. More...
 
- Protected Attributes inherited from FDatasmithElementImpl< IDatasmithCustomActorElement >
FString Name
 
FString Label
 
FMD5Hash ElementHash
 
EDatasmithElementType Type
 
uint64 SubType
 

Member Function Documentation

◆ AddProperty()

virtual void FDatasmithCustomActorElementImpl::AddProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  Property)
overridevirtual

Add a property to this actor.

Implements IDatasmithCustomActorElement.

◆ GetClassOrPathName()

virtual const TCHAR* FDatasmithCustomActorElementImpl::GetClassOrPathName ( ) const
inlineoverridevirtual

The class name or path to the blueprint to instantiate.

Implements IDatasmithCustomActorElement.

◆ GetPropertiesCount()

virtual int32 FDatasmithCustomActorElementImpl::GetPropertiesCount ( ) const
inlineoverridevirtual

Get the total amount of properties in this actor.

Implements IDatasmithCustomActorElement.

◆ GetProperty()

virtual const TSharedPtr< IDatasmithKeyValueProperty >& FDatasmithCustomActorElementImpl::GetProperty ( int32  i) const
inlineoverridevirtual

Get the property i-th of this actor.

Implements IDatasmithCustomActorElement.

◆ GetPropertyByName()

virtual const TSharedPtr< IDatasmithKeyValueProperty >& FDatasmithCustomActorElementImpl::GetPropertyByName ( const TCHAR *  Name) const
overridevirtual

Get a property by its name if it exists.

Implements IDatasmithCustomActorElement.

◆ RemoveProperty()

virtual void FDatasmithCustomActorElementImpl::RemoveProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  Property)
inlineoverridevirtual

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

Implements IDatasmithCustomActorElement.


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