Skip to content
Version 2.11.0
↓ Get the launcher

IFramework.RequestUpdateRate method

Ask the framework to tick THIS plugin at no less than hz until the returned scope is disposed. Requests stack (the maximum wins). The value is clamped to the supported range. Returns an inert (no-op) scope unless the user granted this plugin rate-control permission, so calling it is always safe.

public IUpdateRateScope RequestUpdateRate(int hz)
parameter description
hz Requested minimum tick rate in Hz.