Fission FSN
Loading...
Searching...
No Matches
fsCAnimationDataPlayfirstValidation.h
Go to the documentation of this file.
1#ifndef fsCAnimationDataPlayfirstValidationhdr
2#define fsCAnimationDataPlayfirstValidationhdr
3
4#include <cstddef>
5
7{
8 constexpr bool contentValidGet(std::size_t pMainTimelineKeyFrameCount)
9 {
10 // PlayFirst XML timelines may intentionally contain only events, such as
11 // PlaySound, and therefore do not require renderable sprite frames.
12 return pMainTimelineKeyFrameCount > 0;
13 }
14}
15
16#endif
Definition fsCAnimationDataPlayfirstValidation.h:7
constexpr bool contentValidGet(std::size_t pMainTimelineKeyFrameCount)
Definition fsCAnimationDataPlayfirstValidation.h:8
decltype(sizeof(void *)) size_t
Definition doctest.h:524