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

Represents an animation, defined by atleast one channel affecting one node property each. More...

#include <foray_animation.hpp>

Public Member Functions

void Update (const base::FrameRenderInfo &)
 Applies current playback state.
 

Protected Attributes

std::string mName
 Animation name.
 
std::vector< AnimationSamplermSamplers
 Collection of samplers. These contain raw keyframe values.
 
std::vector< AnimationChannelmChannels
 Collection of channels. These bind keyframe values from samplers to node properties.
 
float mStart = {}
 The lowest keyframe time value.
 
float mEnd = {}
 The highest keyframe time value.
 
PlaybackConfig mPlaybackConfig
 Configuration representing current playback state.
 

Detailed Description

Represents an animation, defined by atleast one channel affecting one node property each.

Member Function Documentation

◆ Update()

void foray::scene::Animation::Update ( const base::FrameRenderInfo )

Applies current playback state.

Member Data Documentation

◆ mChannels

std::vector<AnimationChannel> foray::scene::Animation::mChannels
protected

Collection of channels. These bind keyframe values from samplers to node properties.

◆ mEnd

float foray::scene::Animation::mEnd = {}
protected

The highest keyframe time value.

◆ mName

std::string foray::scene::Animation::mName
protected

Animation name.

◆ mPlaybackConfig

PlaybackConfig foray::scene::Animation::mPlaybackConfig
protected

Configuration representing current playback state.

◆ mSamplers

std::vector<AnimationSampler> foray::scene::Animation::mSamplers
protected

Collection of samplers. These contain raw keyframe values.

◆ mStart

float foray::scene::Animation::mStart = {}
protected

The lowest keyframe time value.


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