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

Public Member Functions

virtual const TCHAR * GetClassOrPathName () const =0
 The class name or path to the blueprint to instantiate. More...
 
virtual void SetClassOrPathName (const TCHAR *InClassOrPathName)=0
 
virtual int32 GetPropertiesCount () const =0
 Get the total amount of properties in this actor. More...
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i) const =0
 Get the property i-th of this actor. More...
 
virtual TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i)=0
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *Name) const =0
 Get a property by its name if it exists. More...
 
virtual TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *Name)=0
 
virtual void AddProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property)=0
 Add a property to this actor. More...
 
virtual void RemoveProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property)=0
 Removes a property from this actor, doesn't preserve ordering. More...
 
- Public Member Functions inherited from IDatasmithActorElement
virtual FVector GetTranslation () const =0
 Get absolute translation of this entity. More...
 
virtual void SetTranslation (float InX, float InY, float InZ)=0
 Set absolute translation of this entity. More...
 
virtual void SetTranslation (const FVector &Value)=0
 Set absolute translation of this entity. More...
 
virtual FVector GetScale () const =0
 Get absolute scale of this entity. More...
 
virtual void SetScale (float InX, float InY, float InZ)=0
 Set absolute scale of this entity. More...
 
virtual void SetScale (const FVector &Value)=0
 Set absolute scale of this entity. More...
 
virtual FQuat GetRotation () const =0
 Get rotation (in quaternion format) of this entity. More...
 
virtual void SetRotation (float InX, float InY, float InZ, float InW)=0
 Set rotation (in quaternion format) of this entity. More...
 
virtual void SetRotation (const FQuat &Value)=0
 Set rotation (in quaternion format) of this entity. More...
 
virtual void SetUseParentTransform (bool bUseParentTransform)=0
 Sets to adjust the actor transform relative to it's parent. More...
 
virtual FTransform GetRelativeTransform () const =0
 Returns the relative transform for this element. More...
 
virtual const TCHAR * GetLayer () const =0
 Get the the name of the layer that contains this entity. More...
 
virtual void SetLayer (const TCHAR *InLayer)=0
 Set the the the layer that contains this entity, layer will be auto-created from its name. More...
 
virtual void AddTag (const TCHAR *InTag)=0
 Add a new Tag to an Actor element. More...
 
virtual void ResetTags ()=0
 Remove all Tags on the Actor element. More...
 
virtual int32 GetTagsCount () const =0
 Get the number of tags attached to an Actor element. More...
 
virtual const TCHAR * GetTag (int32 TagIndex) const =0
 Get the 'TagIndex'th tag of an Actor element. More...
 
virtual void AddChild (const TSharedPtr< IDatasmithActorElement > &InChild, EDatasmithActorAttachmentRule AttachementRule=EDatasmithActorAttachmentRule::KeepWorldTransform)=0
 Adds a new child to the Actor Element. More...
 
virtual int32 GetChildrenCount () const =0
 Get the number of children on this actor. More...
 
virtual TSharedPtr< IDatasmithActorElement > GetChild (int32 InIndex)=0
 Get the InIndex-th child of the mesh actor. More...
 
virtual const TSharedPtr< IDatasmithActorElement > & GetChild (int32 InIndex) const =0
 
virtual void RemoveChild (const TSharedPtr< IDatasmithActorElement > &InChild)=0
 
virtual void SetIsAComponent (bool Value)=0
 Indicates if this actor is a standalone actor or a component, when used in a hierarchy. More...
 
virtual bool IsAComponent () const =0
 
virtual void SetAsSelector (bool bInIsASelector)=0
 Set a mesh actor as a switch or not. More...
 
virtual bool IsASelector () const =0
 Get if a mesh actor is a switch or not. More...
 
virtual void SetSelectionIndex (int32 InSelectionID)=0
 Set the index of the visible child of a mesh actor which is a selector. More...
 
virtual int32 GetSelectionIndex () const =0
 Get the index of the visible child of a mesh actor which is a selector. More...
 
virtual void SetVisibility (bool bInVisibility)=0
 Get a mesh actor's visibility. More...
 
virtual bool GetVisibility () const =0
 Set a mesh actor's visibility. More...
 
- Public Member Functions inherited from IDatasmithElement
virtual bool IsA (EDatasmithElementType Type) const =0
 returns if this DatasmithElement is of a specified type More...
 
virtual bool IsSubType (uint64 SubType) const =0
 returns if this DatasmithElement is of a specified subtype of its EDatasmithElementType More...
 
virtual const TCHAR * GetName () const =0
 Gets the element name. More...
 
virtual void SetName (const TCHAR *InName)=0
 Sets the element name. More...
 
virtual const TCHAR * GetLabel () const =0
 Gets the element label used in the UI. More...
 
virtual void SetLabel (const TCHAR *InLabel)=0
 Sets the element label used in the UI. More...
 
virtual FMD5Hash CalculateElementHash (bool bForce)=0
 Return a MD5 hash of the content of the Element. More...
 

Member Function Documentation

◆ AddProperty()

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

Add a property to this actor.

Implemented in FDatasmithCustomActorElementImpl.

◆ GetClassOrPathName()

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

The class name or path to the blueprint to instantiate.

Implemented in FDatasmithCustomActorElementImpl.

◆ GetPropertiesCount()

virtual int32 IDatasmithCustomActorElement::GetPropertiesCount ( ) const
pure virtual

Get the total amount of properties in this actor.

Implemented in FDatasmithCustomActorElementImpl.

◆ GetProperty()

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

Get the property i-th of this actor.

Implemented in FDatasmithCustomActorElementImpl.

◆ GetPropertyByName()

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

Get a property by its name if it exists.

Implemented in FDatasmithCustomActorElementImpl.

◆ RemoveProperty()

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

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

Implemented in FDatasmithCustomActorElementImpl.


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