docs.unity.cn
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.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Physics.Systems
    Assembly: solution.dll
    Syntax
    public struct PhysicsWorldData.PhysicsWorldComponentHandles

    Constructors

    Name Description
    PhysicsWorldComponentHandles(ref SystemState)

    Constructor.

    Methods

    Name Description
    Update(ref SystemState)

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

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