Struct PhysicsRenderEntity
Stores a direct association to another Entity holding a graphical representation of a physics shape referenced by this Entity.
Inherited Members
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 |