| USkinnedMeshComponent::SetSkeletalMesh()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
Include |
#include "Components/SkeletalMeshComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp |
virtual void SetSkeletalMesh
(
class USkeletalMesh * NewMesh,
bool bReinitPose
)
Change the SkeletalMesh that is rendered for this Component. Will re-initialize the animation tree etc.
Parameter |
Description |
---|---|
NewMesh |
New mesh to set for this component |
bReinitPose |
Whether we should keep current pose or reinitialize. |