IDatasmithActorElement used in any geometry instance independently if it could be static or movable. 更多...
#include <IDatasmithSceneElements.h>
类 IDatasmithMeshActorElement 继承关系图:Public 成员函数 | |
| virtual void | AddMaterialOverride (const TCHAR *MaterialName, int32 Id)=0 |
| Adds a new material override to the Actor Element 更多... | |
| virtual void | AddMaterialOverride (const TSharedPtr< IDatasmithMaterialIDElement > &Material)=0 |
| Adds a new material override to the Actor Element | |
| virtual TSharedPtr< const IDatasmithMaterialIDElement > | GetMaterialOverride (int32 i) const =0 |
| Get the i-th material override of this actor | |
| virtual TSharedPtr< IDatasmithMaterialIDElement > | GetMaterialOverride (int32 i)=0 |
| Get the i-th material override of this actor | |
| virtual int32 | GetMaterialOverridesCount () const =0 |
| Get the amount of material overrides on this mesh | |
| virtual const TCHAR * | GetStaticMeshPathName () const =0 |
| Get the path name of the StaticMesh associated with the actor | |
| virtual void | RemoveMaterialOverride (const TSharedPtr< IDatasmithMaterialIDElement > &Material)=0 |
| Remove material from the Actor Element | |
| virtual void | SetStaticMeshPathName (const TCHAR *InStaticMeshPathName)=0 |
| Set the path name of the StaticMesh that the actor is using It can be either a package path to refer to an existing mesh or a mesh name to refer to a MeshElement in the DatasmithScene | |
Public 成员函数 继承自 IDatasmithActorElement | |
| virtual void | AddChild (const TSharedPtr< IDatasmithActorElement > &InChild, EDatasmithActorAttachmentRule AttachementRule=EDatasmithActorAttachmentRule::KeepWorldTransform)=0 |
| Adds a new child to the Actor Element | |
| virtual void | AddTag (const TCHAR *InTag)=0 |
| Add a new Tag to an Actor element | |
| virtual TSharedPtr< IDatasmithActorElement > | GetChild (int32 InIndex)=0 |
| Get the InIndex-th child of the mesh actor | |
| virtual int32 | GetChildrenCount () const =0 |
| Get the number of children on this actor | |
| virtual const TCHAR * | GetLayer () const =0 |
| Get the the name of the layer that contains this entity | |
| virtual FTransform | GetRelativeTransform () const =0 |
| Returns the relative transform for this element | |
| virtual FQuat | GetRotation () const =0 |
| Get rotation (in quaternion format) of this entity | |
| virtual FVector | GetScale () const =0 |
| Get absolute scale of this entity | |
| virtual int32 | GetSelectionIndex () const =0 |
| Get the index of the visible child of a mesh actor which is a selector | |
| virtual const TCHAR * | GetTag (int32 TagIndex) const =0 |
| Get the 'TagIndex'th tag of an Actor element | |
| virtual int32 | GetTagsCount () const =0 |
| Get the number of tags attached to an Actor element | |
| virtual FVector | GetTranslation () const =0 |
| Get absolute translation of this entity | |
| virtual bool | GetVisibility () const =0 |
| Set a mesh actor's visibility | |
| virtual bool | IsASelector () const =0 |
| Get if a mesh actor is a switch or not | |
| virtual void | ResetTags ()=0 |
| Remove all Tags on the Actor element | |
| virtual void | SetAsSelector (bool bInIsASelector)=0 |
| Set a mesh actor as a switch or not | |
| virtual void | SetIsAComponent (bool Value)=0 |
| Indicates if this actor is a standalone actor or a component, when used in a hierarchy | |
| virtual void | SetLayer (const TCHAR *InLayer)=0 |
| Set the the the layer that contains this entity, layer will be auto-created from its name | |
| virtual void | SetRotation (const FQuat &Value)=0 |
| Set rotation (in quaternion format) of this entity | |
| virtual void | SetRotation (float InX, float InY, float InZ, float InW)=0 |
| Set rotation (in quaternion format) of this entity | |
| virtual void | SetScale (const FVector &Value)=0 |
| Set absolute scale of this entity | |
| virtual void | SetScale (float InX, float InY, float InZ)=0 |
| Set absolute scale of this entity | |
| virtual void | SetSelectionIndex (int32 InSelectionID)=0 |
| Set the index of the visible child of a mesh actor which is a selector | |
| virtual void | SetTranslation (const FVector &Value)=0 |
| Set absolute translation of this entity | |
| virtual void | SetTranslation (float InX, float InY, float InZ)=0 |
| Set absolute translation of this entity | |
| virtual void | SetUseParentTransform (bool bUseParentTransform)=0 |
| Sets to adjust the actor transform relative to it's parent | |
| virtual void | SetVisibility (bool bInVisibility)=0 |
| Get a mesh actor's visibility | |
Public 成员函数 继承自 IDatasmithElement | |
| virtual FMD5Hash | CalculateElementHash (bool bForce)=0 |
| Return a MD5 hash of the content of the Element. 更多... | |
| virtual const TCHAR * | GetLabel () const =0 |
| Gets the element label used in the UI | |
| virtual const TCHAR * | GetName () const =0 |
| Gets the element name | |
| virtual bool | IsA (EDatasmithElementType Type) const =0 |
| returns if this DatasmithElement is of a specified type | |
| virtual bool | IsSubType (uint64 SubType) const =0 |
| returns if this DatasmithElement is of a specified subtype of its EDatasmithElementType | |
| virtual void | SetLabel (const TCHAR *InLabel)=0 |
| Sets the element label used in the UI | |
| virtual void | SetName (const TCHAR *InName)=0 |
| Sets the element name | |
Public 成员函数 继承自 DirectLink::ISceneGraphNode | |
| FSceneGraphId | GetNodeId () const |
| References | |
| virtual const FParameterStore & | GetStore () const =0 |
| data | |
| virtual TSharedPtr< FSceneGraphSharedState > | MakeSharedState () const |
| Related nodes share a common object | |
IDatasmithActorElement used in any geometry instance independently if it could be static or movable.
It doesn't define the actual geometry, you'll need IDatasmithMeshElement for this. Notice that several IDatasmithMeshActorElements could use the same geometry.
|
pure virtual |
Adds a new material override to the Actor Element
| MaterialName | name of the material, it should be unique |
| Id | material identifier to be used with mesh sub-material indices |