Class PhysicsShapesRenderingService
public class PhysicsShapesRenderingService : GameSystem, IDisposable, ICollectorHolder, IGameSystemBase, IComponent, IReferencable, IUpdateable, IDrawable, IContentable- Inheritance
- 
      objectPhysicsShapesRenderingService
- Implements
- Inherited Members
- Extension Methods
Constructors
PhysicsShapesRenderingService(IServiceRegistry)
public PhysicsShapesRenderingService(IServiceRegistry registry)Parameters
- registryIServiceRegistry
Methods
CreateDebugEntity(PhysicsComponent, RenderGroup, bool)
public Entity CreateDebugEntity(PhysicsComponent component, RenderGroup renderGroup, bool alwaysAddOffset = false)Parameters
- componentPhysicsComponent
- renderGroupRenderGroup
- alwaysAddOffsetbool
Returns
Initialize()
This method is called when the component is added to the game.
public override void Initialize()Remarks
This method can be used for tasks like querying for services the component needs and setting up non-graphics resources.
Update(GameTime)
This method is called when this game component is updated.
public override void Update(GameTime gameTime)Parameters
- gameTimeGameTime
- The current timing.