Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
Loading...
Searching...
No Matches
Public Attributes | List of all members
foray::scene::PlaybackConfig Struct Reference

#include <foray_animation.hpp>

Public Attributes

bool Enable = true
 If false, playback is paused.
 
bool Loop = true
 The animation is looped if set to true.
 
float PlaybackSpeed = 1.f
 Speed multiplier.
 
float ConstantDelta = 0.0f
 If non zero, will advance each frame with a constant delta time as opposed to the render engines frametime.
 
float Cursor = 0.f
 Current playback position used for interpolation.
 

Member Data Documentation

◆ ConstantDelta

float foray::scene::PlaybackConfig::ConstantDelta = 0.0f

If non zero, will advance each frame with a constant delta time as opposed to the render engines frametime.

◆ Cursor

float foray::scene::PlaybackConfig::Cursor = 0.f

Current playback position used for interpolation.

◆ Enable

bool foray::scene::PlaybackConfig::Enable = true

If false, playback is paused.

◆ Loop

bool foray::scene::PlaybackConfig::Loop = true

The animation is looped if set to true.

◆ PlaybackSpeed

float foray::scene::PlaybackConfig::PlaybackSpeed = 1.f

Speed multiplier.


The documentation for this struct was generated from the following file: