TGenericParticleHandle

A wrapper around any type of particle handle to provide a consistent (read-only) API for all particle types.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ParticleHandle.h

Include

#include "Chaos/ParticleHandle.h"

Syntax

template<typename T, int d>
class TGenericParticleHandle

Remarks

A wrapper around any type of particle handle to provide a consistent (read-only) API for all particle types. This can make code simpler because you can write code that is type-agnostic, but it has a cost. Where possible it is better to write code that is specific to the type(s) of particles being operated on. TGenericParticleHandle has pointer semantics, so you can use one wherever you have a particle handle pointer;

Constructors

Name Description

Public function

TGenericParticleHandle

(
    TGeometryParticleHandle < T, d >...
)

Functions

Name Description

Public function Const

TGenericPart ...

 

Get()

Operators

Name Description

Public function Const

TGenericPart ...

 

operator->()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback