docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TriggerEvents

    Namespace: Tuanjie.Infinity.SimulationSystem
    Assembly: solution.dll
    Syntax
    public struct TriggerEvents

    Fields

    enterTriggerEvents

    Declaration
    public NativeList<TriggerEvent> enterTriggerEvents
    Field Value
    Type Description
    NativeList<TriggerEvent>

    exitTriggerEvents

    Declaration
    public NativeList<Entry> exitTriggerEvents
    Field Value
    Type Description
    NativeList<Entry>

    inTriggerEvents

    Declaration
    public NativeList<TriggerEvent> inTriggerEvents
    Field Value
    Type Description
    NativeList<TriggerEvent>

    outTriggerEvents

    Declaration
    public NativeList<Entry> outTriggerEvents
    Field Value
    Type Description
    NativeList<Entry>

    triggerEventCount

    Declaration
    public NativeArray<int> triggerEventCount
    Field Value
    Type Description
    NativeArray<int>

    Methods

    Dispose()

    Declaration
    public void Dispose()

    GetEvents(ParticleSystemSharp, ParticleSystemTriggerEventType, List<Particle>)

    Declaration
    public int GetEvents(ParticleSystemSharp particleSystem, ParticleSystemTriggerEventType type, List<ParticleSystemSharp.Particle> particles)
    Parameters
    Type Name Description
    ParticleSystemSharp particleSystem
    ParticleSystemTriggerEventType type
    List<Particle> particles
    Returns
    Type Description
    int

    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
    Type Name Description
    ParticleSystemSharp particleSystem
    ParticleSystemTriggerEventType type
    List<Particle> particles
    List<Component> m_Colliders
    ParticleSystemSharp.ColliderData colliderData
    Returns
    Type Description
    int

    GetInEntryArray(ParticleSystemTriggerEventType)

    Declaration
    public NativeList<TriggerEvent> GetInEntryArray(ParticleSystemTriggerEventType type)
    Parameters
    Type Name Description
    ParticleSystemTriggerEventType type
    Returns
    Type Description
    NativeList<TriggerEvent>

    GetOutEntryArray(ParticleSystemTriggerEventType)

    Declaration
    public NativeList<Entry> GetOutEntryArray(ParticleSystemTriggerEventType type)
    Parameters
    Type Name Description
    ParticleSystemTriggerEventType type
    Returns
    Type Description
    NativeList<Entry>

    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
    Type Name Description
    AllocatorManager.AllocatorHandle allocator
    SparseTable sparseTable
    ParticleSystemColliderQueryMode hitMode
    bool rotation3D
    bool size3D
    bool meshIndex

    MergeEvents(TriggerEvents)

    Declaration
    public void MergeEvents(TriggerEvents other)
    Parameters
    Type Name Description
    TriggerEvents other

    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
    Type Name Description
    GameObject particleSystem
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)