| ExplosionOnApply Method |
Called when the simulation wants this force effect to apply forces to rigid bodies.
Namespace: DigitalRune.Physics.ForceEffectsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax protected override void OnApply()
Protected Overrides Sub OnApply
protected:
virtual void OnApply() override
abstract OnApply : unit -> unit
override OnApply : unit -> unit
Remarks Notes to Inheritors:
This method must be implemented in derived classes. This method is only called after the
force effect was added to a simulation and OnAddToSimulation was
called.
This method uses the IAreaOfEffect to call Apply(RigidBody) for each rigid
body in the area of effect.
See Also