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

IDeltaTimeConsumer Interface

A general interface for replacing the delta time provider used in an object.
Grouping classes that use this pattern under this interface allows changing multiple objects easily. See Oculus.Interaction.Locomotion.FirstPersonLocomotor for an example implementation.

Member Functions

Sets a custom function that returns the last delta time in seconds.
Parameters
deltaTimeProvider
A delegate that returns the time elapsed since the last frame.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon