Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Animation > API/Editor/UnrealEd/Animation/UDebugSkelMeshComponent
Deprecated * Use USkeletalMeshComponent::SetSkeletalMesh() or SetSkinnedAssetAndUpdate() instead.
- USkinnedMeshComponent::SetSkeletalMesh()
- USkeletalMeshComponent::SetSkeletalMesh()
- UDebugSkelMeshComponent::SetSkeletalMesh()
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/Animation/DebugSkelMeshComponent.h |
| Include | #include "Animation/DebugSkelMeshComponent.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Animation/DebugSkelMeshComponent.cpp |
virtual void SetSkeletalMesh
&40;
USkeletalMesh &42; NewMesh,
bool bReinitPose
&41;
Remarks
Change the SkeletalMesh that is rendered for this Component. Will re-initialize the animation tree etc.
Parameters
| Name | Description |
|---|---|
| NewMesh | New mesh to set for this component |
| bReinitPose | Whether we should keep current pose or reinitialize. |