API reference
API reference
Select your platform
No SDKs available
No versions available

ITimeConsumer Interface

A general interface for replacing the global time provider used in an object.
Grouping classes that use this pattern under this interface allows changing multiple objects easily.

Methods

SetTimeProvider ( timeProvider )
Sets a function that returns the current time in seconds.
Signature
void Oculus.Interaction.ITimeConsumer.SetTimeProvider(Func< float > timeProvider)
Parameters
timeProvider: Func< float >
Returns
void