anyKode Marilou
ContentsIndexHome
PreviousUpNext
Device::SetUpdateDelay

Changing the update delay of the device.

C++
MU32 SetUpdateDelay(MU32 dwUpdateDelayMS, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
MU32 dwUpdateDelayMS 
[in] new delay in ms 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

The delay that was set by the system, 0 if an error occurred.

SetUpdateDelay changes the delay between two device update. If the new delay is lesser than the current physics time-step, it is set to the time-step. Some devices like Cameras do not allow update delay lower then 10 ms.

4.7.36

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!