docs.unity.cn
    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
    Generated by DocFX
    on Wednesday, June 21, 2023