FDatasmithLandscapeElementImpl Class Reference
Inheritance diagram for FDatasmithLandscapeElementImpl:
FDatasmithActorElementImpl< IDatasmithLandscapeElement > FDatasmithElementImpl< IDatasmithLandscapeElement > IDatasmithLandscapeElement IDatasmithActorElement IDatasmithElement

Public Member Functions

 FDatasmithLandscapeElementImpl (const TCHAR *InName)
 
virtual void SetHeightmap (const TCHAR *InFilePath) override
 The path to the heightmap file. More...
 
virtual const TCHAR * GetHeightmap () const override
 
virtual void SetMaterial (const TCHAR *InMaterialPathName) override
 The name or path to the material to assign to this landscape layer. More...
 
virtual const TCHAR * GetMaterial () const override
 
- Public Member Functions inherited from FDatasmithActorElementImpl< IDatasmithLandscapeElement >
 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< IDatasmithLandscapeElement >
 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< IDatasmithLandscapeElement >
void ConvertChildsToRelative ()
 Converts all childs transforms to relative. More...
 
void ConvertChildsToWorld ()
 Converts all childs transforms to world. More...
 
- Protected Attributes inherited from FDatasmithElementImpl< IDatasmithLandscapeElement >
FString Name
 
FString Label
 
FMD5Hash ElementHash
 
EDatasmithElementType Type
 
uint64 SubType
 

Member Function Documentation

◆ SetHeightmap()

virtual void FDatasmithLandscapeElementImpl::SetHeightmap ( const TCHAR *  FilePath)
inlineoverridevirtual

The path to the heightmap file.

Implements IDatasmithLandscapeElement.

◆ SetMaterial()

virtual void FDatasmithLandscapeElementImpl::SetMaterial ( const TCHAR *  MaterialPathName)
inlineoverridevirtual

The name or path to the material to assign to this landscape layer.

Implements IDatasmithLandscapeElement.


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