docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PhysicsWorldExporter.ExportPhysicsWorldTypeHandles

    Stores the ECS component handles needed to export PhysicsWorld to ECS components.

    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 PhysicsWorldExporter.ExportPhysicsWorldTypeHandles

    Constructors

    ExportPhysicsWorldTypeHandles(ref SystemState)

    Constructor.

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

    [in,out] State of the system.

    Methods

    Update(ref SystemState)

    Updates the component handles. Call this in OnUpdate() methods of the system you want to export physics world.

    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 © 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)