Struct TriggerEvents
Assembly: solution.dll
Syntax
public struct TriggerEvents
Fields
enterTriggerEvents
Declaration
public NativeList<TriggerEvent> enterTriggerEvents
Field Value
exitTriggerEvents
Declaration
public NativeList<Entry> exitTriggerEvents
Field Value
inTriggerEvents
Declaration
public NativeList<TriggerEvent> inTriggerEvents
Field Value
outTriggerEvents
Declaration
public NativeList<Entry> outTriggerEvents
Field Value
triggerEventCount
Declaration
public NativeArray<int> triggerEventCount
Field Value
Methods
Dispose()
Declaration
GetEvents(ParticleSystemSharp, ParticleSystemTriggerEventType, List<Particle>)
Declaration
public int GetEvents(ParticleSystemSharp particleSystem, ParticleSystemTriggerEventType type, List<ParticleSystemSharp.Particle> particles)
Parameters
Returns
GetEventsWithData(ParticleSystemSharp, ParticleSystemTriggerEventType, List<Particle>, List<Component>, out ColliderData)
Declaration
public int GetEventsWithData(ParticleSystemSharp particleSystem, ParticleSystemTriggerEventType type, List<ParticleSystemSharp.Particle> particles, List<Component> m_Colliders, out ParticleSystemSharp.ColliderData colliderData)
Parameters
Returns
GetInEntryArray(ParticleSystemTriggerEventType)
Declaration
public NativeList<TriggerEvent> GetInEntryArray(ParticleSystemTriggerEventType type)
Parameters
Returns
GetOutEntryArray(ParticleSystemTriggerEventType)
Declaration
public NativeList<Entry> GetOutEntryArray(ParticleSystemTriggerEventType type)
Parameters
Returns
Initialize(AllocatorHandle, SparseTable, ParticleSystemColliderQueryMode, bool, bool, bool)
Declaration
public void Initialize(AllocatorManager.AllocatorHandle allocator, SparseTable sparseTable, ParticleSystemColliderQueryMode hitMode, bool rotation3D, bool size3D, bool meshIndex)
Parameters
MergeEvents(TriggerEvents)
Declaration
public void MergeEvents(TriggerEvents other)
Parameters
ResetEnterExitEvents()
Declaration
public void ResetEnterExitEvents()
ResetEvents()
Declaration
public void ResetEvents()
ResetInOutCount()
Declaration
public void ResetInOutCount()
ResetInOutEvents()
Declaration
public void ResetInOutEvents()
SendEvents(GameObject)
Declaration
public void SendEvents(GameObject particleSystem)
Parameters