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
Assembly: solution.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
Name | Description |
---|---|
Entity | An Entity containing the graphical representation of a physics shape. |