getRestitution

fun getRestitution(): Float

Gets the restitution of the physics material.

Return

The restitution value.

Throws

IllegalStateException

If this resource is closed or invalid.