| IMaterialPropertyCombinerCombineRestitution 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 float CombineRestitution(
float restitutionA,
float restitutionB
)
Function CombineRestitution (
restitutionA As Single,
restitutionB As Single
) As Single
float CombineRestitution(
float restitutionA,
float restitutionB
)
abstract 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.
See Also