Struct SimulationData.Contacts.Iterator | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct SimulationData.Contacts.Iterator

    Namespace: Unity.Physics
    Syntax
    public struct Iterator

    Constructors

    Iterator(SimulationData.Contacts)

    Declaration
    public Iterator(SimulationData.Contacts contacts)
    Parameters
    Type Name Description
    SimulationData.Contacts contacts

    Methods

    GetNextContact()

    Declaration
    public ContactPoint GetNextContact()
    Returns
    Type Description
    ContactPoint

    GetNextContactHeader()

    Declaration
    public ContactHeader GetNextContactHeader()
    Returns
    Type Description
    ContactHeader

    HasItemsLeft()

    Declaration
    public bool HasItemsLeft()
    Returns
    Type Description
    System.Boolean

    SetManifoldNormal(float3)

    Declaration
    public void SetManifoldNormal(float3 newNormal)
    Parameters
    Type Name Description
    float3 newNormal

    UpdatePreviousContact(ContactPoint)

    Declaration
    public void UpdatePreviousContact(ContactPoint newData)
    Parameters
    Type Name Description
    ContactPoint newData

    UpdatePreviousContactHeader(ContactHeader)

    Declaration
    public void UpdatePreviousContactHeader(ContactHeader newHeader)
    Parameters
    Type Name Description
    ContactHeader newHeader
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023