| MaterialPropertyCombinerCombineRestitution Method |
Computes the combined coefficient of restitution.
Namespace: DigitalRune.Physics.MaterialsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public float CombineRestitution(
float restitutionA,
float restitutionB
)
Public Function CombineRestitution (
restitutionA As Single,
restitutionB As Single
) As Single
public:
virtual float CombineRestitution(
float restitutionA,
float restitutionB
) sealed
abstract CombineRestitution :
restitutionA : float32 *
restitutionB : float32 -> float32
override CombineRestitution :
restitutionA : float32 *
restitutionB : float32 -> float32
Parameters
- restitutionA
- Type: SystemSingle
The first coefficient of restitution. - restitutionB
- Type: SystemSingle
The second coefficient of restitution.
Return Value
Type:
Single
The combined coefficient of restitution.
Implements
IMaterialPropertyCombinerCombineRestitution(Single, Single)See Also