USkinnedMeshComponent::SetCPUSkinningEnabled

Set whether this component uses CPU skinning Notes:

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h

Include

#include "Components/SkinnedMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp

Syntax

void SetCPUSkinningEnabled
(
    bool bEnable,
    bool bRecreateRenderStateImmediately
)

Remarks

Set whether this component uses CPU skinning Notes:

  • If enabled, skeletal mesh referenced by this component will be removed from streaming manager

  • Streaming cannot be (re)enabled as long as any component uses CPU skinning

  • This function is expensive