struct MAGES::MeshDeformations::AdvancedParticleGrabber::ObservedParticleGroup

Overview

A group of observed particles. More…

struct ObservedParticleGroup
{
    // fields

    BasePhysicsActor Actor;
    SerializableHashSet Particles;
    UnityEvent OnGrabbed;
    UnityEvent OnReleased;
    bool Fired;
};

Detailed Documentation

A group of observed particles.

Fields

BasePhysicsActor Actor

The actor these particles belong to.

SerializableHashSet Particles

The particle indices.

UnityEvent OnGrabbed

The event to be called when a particle of the group is grabbed.

UnityEvent OnReleased

The event to be called when a particle of the group is released.

bool Fired

Whether the event has alredy been fired.