docs.unity3d.com
    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.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Physics.GraphicsIntegration
    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
    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