setFluid

open fun setFluid(fluid: PylonFluid, amount: Double): Boolean(source)

Sets a fluid buffer only if the new amount of fluid is greater than or equal to zero and fits in the buffer.

Return

true only if the buffer was set successfully