Struct GhostDebugMeshBounds
Self contained component to hold a mesh's bounds for debug drawing.
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public struct GhostDebugMeshBounds : IComponentData, IQueryTypeParameter
Remarks
This should stay active even when the GameObject is inactive. This is really showing boxes for the netcode of your GameObject, which is linked to the entity lifecycle If the entity is still moving and your GO is inactive, you'd potentially still want to know about it.
Fields
| Name | Description |
|---|---|
| GlobalBounds | The bounds for this entity, used to draw a debug box. Should be in local space, with the center at the object's origin. |
Methods
| Name | Description |
|---|---|
| Initialize(GameObject, Entity, World) | Convenience method to initialize the debug mesh bounds for GameObjects. |