docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PhysicsWorldData.PhysicsWorldComponentHandles

    The physics world component handles. Stores the information about ECS component handles needed for generating a PhysicsWorld

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics.Systems
    Assembly: Unity.Physics.dll
    Syntax
    public struct PhysicsWorldData.PhysicsWorldComponentHandles

    Constructors

    PhysicsWorldComponentHandles(ref SystemState)

    Constructor.

    Declaration
    public PhysicsWorldComponentHandles(ref SystemState systemState)
    Parameters
    Type Name Description
    SystemState systemState

    [in,out] State of the system.

    Methods

    Update(ref SystemState)

    Updates the PhysicsWorldData.PhysicsWorldComponentHandles. Call this in OnUpdate() methods of the systems in which you want to store PhysicsWorldData in.

    Declaration
    public void Update(ref SystemState systemState)
    Parameters
    Type Name Description
    SystemState systemState

    [in,out] State of the system.

    In This Article
    Back to top
    Copyright © 2024 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)