ClothingSimulation::GetCollisions

Called by the engine to request data on all active collisions in a simulation.

Windows
MacOS
Linux

Override Hierarchy

IClothingSimulation::GetCollisions()

ClothingSimulation::GetCollisions()

References

Module

ChaosCloth

Header

/Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Public/ChaosCloth/ChaosClothingSimulation.h

Include

#include "ChaosCloth/ChaosClothingSimulation.h"

Source

/Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Private/ChaosCloth/ChaosClothingSimulation.cpp

Syntax

virtual void GetCollisions
(
    FClothCollisionData & OutCollisions,
    bool bIncludeExternal
) const

Remarks

Called by the engine to request data on all active collisions in a simulation. if bIncludeExternal is true, derived implementations should add the asset collisions and any collisions added at runtime, if false only the collisions from the asset should be considered

Parameters

Parameter

Description

OutCollisions

Array to write collisions to

bIncludeExternal

Whether or not external collisions should be retrieved, or just asset collisions

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss