Navigation
API > API/Plugins > API/Plugins/ApexDestruction > API/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 SetChunkWorldRT
&40;
int32 ChunkIndex,
const FQuat & WorldRotation,
const FVector & WorldTranslation
&41;
Remarks
This method sets a chunk's (fractured piece's) world rotation and translation.
Parameters
| Name | Description |
|---|---|
| ChunkIndex | Which chunk to affect. ChunkIndex must lie in the range: 0 <= ChunkIndex < ((DestructibleMesh*)USkeletalMesh)->ApexDestructibleAsset->chunkCount(). |
| WorldRotation | The orientation to give to the chunk in world space, represented as a quaternion. |
| WorldRotation | The world space position to give to the chunk. |