Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UStaticMeshComponent
Description
Return true if CreatePhysicsState() should be called. Ideally CreatePhysicsState() should always succeed if this returns true, but this isn't currently the case
Virtual Inheritance
- UActorComponent::ShouldCreatePhysicsState → UPrimitiveComponent::ShouldCreatePhysicsState → UStaticMeshComponent::ShouldCreatePhysicsState
Derived Overrides
| Name | ShouldCreatePhysicsState |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h |
| Include Path | #include "Components/StaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/StaticMeshComponent.cpp |
virtual bool ShouldCreatePhysicsState() const