Navigation
API > API/Plugins > API/Plugins/ApexDestruction > API/Plugins/ApexDestruction/UDestructibleComponent
Deprecated * Use USkeletalMeshComponent::SetSkeletalMesh() or SetSkinnedAssetAndUpdate() instead.
- USkinnedMeshComponent::SetSkeletalMesh()
- UDestructibleComponent::SetSkeletalMesh()
References
| Module | ApexDestruction |
| Header | /Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Public/DestructibleComponent.h |
| Include | #include "DestructibleComponent.h" |
| Source | /Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Private/DestructibleComponent.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. |