Table of Contents

Class PhysicsShapesRenderingService

Namespace
Stride.Physics.Engine
Assembly
Stride.Physics.dll
public class PhysicsShapesRenderingService : GameSystem, IDisposable, ICollectorHolder, IGameSystemBase, IComponent, IReferencable, IUpdateable, IDrawable, IContentable
Inheritance
object
PhysicsShapesRenderingService
Implements
Inherited Members
Extension Methods

Constructors

PhysicsShapesRenderingService(IServiceRegistry)

public PhysicsShapesRenderingService(IServiceRegistry registry)

Parameters

registry IServiceRegistry

Methods

CreateDebugEntity(PhysicsComponent, RenderGroup, bool)

public Entity CreateDebugEntity(PhysicsComponent component, RenderGroup renderGroup, bool alwaysAddOffset = false)

Parameters

component PhysicsComponent
renderGroup RenderGroup
alwaysAddOffset bool

Returns

Entity

Initialize()

Initializes the Game System.

public override void Initialize()

Remarks

This method is called when the component is added to the Game. This can be used for tasks like querying for services the component needs and setting up non-graphics resources (as here the Graphics Device may have not been initialized yet).

Update(GameTime)

This method is called when this game component is updated.

public override void Update(GameTime gameTime)

Parameters

gameTime GameTime

The current timing.