Navigation
API > API/Runtime > API/Runtime/Engine
SkeletalMeshActor is an instance of a USkeletalMesh in the world. Skeletal meshes are deformable meshes that can be animated and change their geometry at run-time. Skeletal meshes dragged into the level from the Content Browser are automatically converted to StaticMeshActors.
| Name | ASkeletalMeshActor |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/SkeletalMeshActor.h |
| Include Path | #include "Animation/SkeletalMeshActor.h" |
Syntax
UCLASS (ClassGroup=ISkeletalMeshes, Blueprintable, ComponentWrapperClass, ConversionRoot,
Meta=(ChildCanTick), MinimalAPI)
class ASkeletalMeshActor : public AActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → ASkeletalMeshActor
Derived Classes
ASkeletalMeshActor derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ASkeletalMeshActor
(
const FObjectInitializer& ObjectInitializer |
Animation/SkeletalMeshActor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShouldDoAnimNotifies | uint32 | Whether or not this actor should respond to anim notifies - CURRENTLY ONLY AFFECTS PlayParticleEffect NOTIFIES | Animation/SkeletalMeshActor.h |
|
| ReplicatedMaterial0 | TObjectPtr< class UMaterialInterface > | Used to replicate the material in index 0 | Animation/SkeletalMeshActor.h |
|
| ReplicatedMaterial1 | TObjectPtr< class UMaterialInterface > | Animation/SkeletalMeshActor.h |
|
|
| ReplicatedMesh | TObjectPtr< class USkeletalMesh > | Used to replicate mesh to clients | Animation/SkeletalMeshActor.h |
|
| ReplicatedPhysAsset | TObjectPtr< class UPhysicsAsset > | Used to replicate physics asset to clients | Animation/SkeletalMeshActor.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentlyPlayingMontages | TMap< FName, TWeakObjectPtr< class UAnimMontage > > | Currently actively playing montage | Animation/SkeletalMeshActor.h | |
| SkeletalMeshComponent | TObjectPtr< class USkeletalMeshComponent > | Animation/SkeletalMeshActor.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
USkeletalMeshComponent * GetSkeletalMeshComponent() |
Returns SkeletalMeshComponent subobject | Animation/SkeletalMeshActor.h | |
virtual void OnRep_ReplicatedMaterial0() |
Animation/SkeletalMeshActor.h | ||
virtual void OnRep_ReplicatedMaterial1() |
Animation/SkeletalMeshActor.h | ||
virtual void OnRep_ReplicatedMesh() |
Replication Notification Callbacks | Animation/SkeletalMeshActor.h | |
virtual void OnRep_ReplicatedPhysAsset() |
Animation/SkeletalMeshActor.h |
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CheckForErrors() |
Check SkeletalMeshActor for errors. | Animation/SkeletalMeshActor.h | |
virtual void EditorReplacedActor
(
AActor* OldActor |
Called by ReplaceSelectedActors to allow a new actor to copy properties from an old actor when it is replaced | Animation/SkeletalMeshActor.h | |
| Used by the "Sync to Content Browser" right-click menu option in the editor. | Animation/SkeletalMeshActor.h | ||
virtual void PostInitializeComponents() |
Allow actors to initialize themselves on the C++ side after all of their components have been initialized, only called during gameplay | Animation/SkeletalMeshActor.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetLifetimeReplicatedProps
(
TArray< FLifetimeProperty >& OutLifetimeProps |
Returns the properties used for network replication, this needs to be overridden by all actor classes with native replicated properties | Animation/SkeletalMeshActor.h | |
virtual void LoadedFromAnotherClass
(
const FName& OldClassName |
Animation/SkeletalMeshActor.h |
Protected
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDetailedInfoInternal() |
Animation/SkeletalMeshActor.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bWakeOnLevelStart_DEPRECATED | uint32 | Animation/SkeletalMeshActor.h |