Navigation
Unreal Engine C++ API Reference > Plugins > ApexDestruction > UDestructibleComponent
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 |
void SetChunkVisible
&40;
int32 ChunkIndex,
bool bInVisible
&41;
Remarks
This method makes a chunk (fractured piece) visible or invisible.
Parameters
Name | Description |
---|---|
ChunkIndex | Which chunk to affect. ChunkIndex must lie in the range: 0 <= ChunkIndex < ((DestructibleMesh*)USkeletalMesh)->ApexDestructibleAsset->chunkCount(). |
bVisible | If true, the chunk will be made visible. Otherwise, the chunk is made invisible. |