![]() | DampedSpring Class |
Namespace: DigitalRune.Physics.ForceEffects
The DampedSpring type exposes the following members.
Name | Description | |
---|---|---|
![]() | DampedSpring |
Initializes a new instance of the DampedSpring class.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnAddToSimulation |
Called when this force effect is added to a simulation.
(Inherited from ForceEffect.) |
![]() | OnApply |
Called when the simulation wants this force effect to apply forces to rigid bodies.
(Overrides ForceEffectOnApply.) |
![]() | OnDisabled |
Called when this force effect was disabled.
(Inherited from ForceEffect.) |
![]() | OnEnabled |
Called when this force effect was enabled.
(Inherited from ForceEffect.) |
![]() | OnRemoveFromSimulation |
Called when this force effect is removed from a simulation.
(Inherited from ForceEffect.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | AttachmentPositionALocal |
Gets or sets the position where the spring is attached to the first body (in local space of
the first body).
|
![]() | AttachmentPositionBLocal |
Gets or sets the position where the spring is attached to the second body (in local space of
the second body).
|
![]() | BodyA |
Gets or sets the first rigid body.
|
![]() | BodyB |
Gets or sets the second rigid body.
|
![]() | DampingConstant |
Gets or sets the damping constant.
|
![]() | Enabled |
Gets or sets a value indicating whether this ForceEffect is enabled.
(Inherited from ForceEffect.) |
![]() | Length |
Gets or sets the rest length of the spring.
|
![]() | Simulation |
Gets the simulation to which this force effect belongs.
(Inherited from ForceEffect.) |
![]() | SpringConstant |
Gets or sets the spring constant.
|