3#include <EditorFramework/Assets/SimpleAssetDocument.h>
13 void SetTickFromTime(
plTime time, plInt64 iFps);
28 void SetTickFromTime(
plTime time, plInt64 iFps);
41 void SetTickFromTime(
plTime time, plInt64 iFps);
62 plColor Evaluate(plInt64 iTick)
const;
Definition ColorGradientAsset.h:23
The thumbnail info containing the hash of the file is appended to assets. The serialized size of this...
Definition AssetDocument.h:49
Definition ColorGradientAsset.h:8
Definition ColorGradientAsset.h:49
void FillGradientData(plColorGradient &out_result) const
Fills out the plColorGradient structure with an exact copy of the data in the asset....
Definition ColorGradientAsset.cpp:105
static plInt64 TickFromTime(plTime time)
Definition ColorGradientAsset.cpp:97
Definition ColorGradientAsset.h:66
virtual plTransformStatus InternalTransformAsset(plStreamWriter &stream, plStringView sOutputTag, const plPlatformProfile *pAssetProfile, const plAssetFileHeader &AssetHeader, plBitflags< plTransformFlags > transformFlags) override
Override this and write the transformed file for the given szOutputTag into the given stream.
Definition ColorGradientAsset.cpp:181
virtual plTransformStatus InternalCreateThumbnail(const ThumbnailInfo &ThumbnailInfo) override
Override this function to generate a thumbnail. Only called if GetAssetFlags returns plAssetDocumentF...
Definition ColorGradientAsset.cpp:187
A color curve for animating colors.
Definition ColorGradient.h:15
plColor represents an RGBA color in linear color space. Values are stored as float,...
Definition Color.h:44
Definition DynamicArray.h:81
Definition ColorGradientAsset.h:36
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition DynamicRTTI.h:86
Definition SimpleAssetDocument.h:23
Interface for binary out (write) streams.
Definition Stream.h:107
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
The plBitflags class allows you to work with type-safe bitflags.
Definition Bitflags.h:82
The time class encapsulates a double value storing the time in seconds.
Definition Time.h:12
PL_ALWAYS_INLINE static constexpr plTime MakeFromSeconds(double fSeconds)
Creates an instance of plTime that was initialized from seconds.
Definition Time.h:30