docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PhysicsRenderEntity

    Stores a direct association to another Entity holding a graphical representation of a physics shape referenced by this Entity.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics.GraphicsIntegration
    Assembly: Unity.Physics.dll
    Syntax
    public struct PhysicsRenderEntity : IComponentData, IQueryTypeParameter
    Remarks

    This component is usually added where the edit time structure has separate hierarchies for the graphics and physical representations. For example, a node that held a PhysicsShape component but no MeshRenderer component.

    Fields

    Entity

    An Entity containing the graphical representation of a physics shape.

    Declaration
    public Entity Entity
    Field Value
    Type Description
    Entity

    Implements

    IComponentData
    IQueryTypeParameter
    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)