Navigation
API > API/Plugins > API/Plugins/ClonerEffector > API/Plugins/ClonerEffector/Cloner > API/Plugins/ClonerEffector/Cloner/Extensions
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UCEClonerExtensionBase
- UCEClonerCollisionExtension
References
| Module | ClonerEffector |
| Header | /Engine/Plugins/Experimental/ClonerEffector/Source/ClonerEffector/Public/Cloner/Extensions/CEClonerCollisionExtension.h |
| Include | #include "Cloner/Extensions/CEClonerCollisionExtension.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, Within=CEClonerComponent, AutoExpandCategories=("Collisions"),
Meta=(Section="Physics", Priority=3))
class UCEClonerCollisionExtension : public UCEClonerExtensionBase
Remarks
Extension dealing with collisions and physics related options
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCollisionVelocityEnabled | Recalculate accurate velocity after collision is updated | |
| bool | bParticleCollisionEnabled | Allow particles to react to other emitter particles, uses a neighbor grid to detect collision | |
| bool | bSurfaceCollisionEnabled | Allow particles to react to surface by using the distance field, ensure the mesh you want particle to collide with is tick enough or increase its distance field resolution scale in static mesh editor | |
| int32 | CollisionGridResolution | Resolution of the neighbor grid to detect collision between particles | |
| FVector | CollisionGridSize | Size of the neighbor grid to detect collision between particles, particles outside this grid will not have collisions | |
| int32 | CollisionIterations | Amount of iterations to improve particle collision results but affects performance | |
| TArray< float > | CollisionRadii | Radius expected around each particle for collision, order matches attachment index | |
| ECEClonerCollisionRadiusMode | CollisionRadiusMode | Collision radius calculation mode | |
| float | MassMax | Maximum particle mass, used for collisions to push apart | |
| float | MassMin | Minimum particle mass, used for collisions to push apart |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | |||
| FVector | |||
| int32 | |||
| const TArray< float > & | |||
| ECEClonerCollisionRadiusMode | |||
| bool | |||
| float | GetMassMax () |
||
| float | GetMassMin () |
||
| bool | |||
| bool | |||
| void | SetCollisionGridResolution
(
int32 InCollisionGridResolution |
||
| void | SetCollisionGridSize
(
const FVector& InCollisionGridSize |
||
| void | SetCollisionIterations
(
int32 InCollisionIterations |
||
| void | |||
| void | SetCollisionVelocityEnabled
(
bool bInCollisionVelocityEnabled |
||
| void | SetMassMax
(
float InMassMax |
||
| void | SetMassMin
(
float InMassMin |
||
| void | SetParticleCollisionEnabled
(
bool bInParticleCollisionEnabled |
||
| void | SetSurfaceCollisionEnabled
(
bool bInSurfaceCollisionEnabled |
Overridden from UCEClonerExtensionBase
| Type | Name | Description | |
|---|---|---|---|
| void | Called when the meshes are updated | ||
| void | OnExtensionParametersChanged
(
UCEClonerComponent* InComponent |
Called to reapply extension parameters |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Called when a property on this object has been modified externally |
Constants
| Name | Description |
|---|---|
| PropertyChangeDispatcher | Used for PECP |