#pragma once #include "../../DNACommon/DNACommon.hpp" #include "IScriptObject.hpp" #include "Parameters.hpp" namespace DataSpec::DNAMP1 { struct CameraFilterKeyframe : IScriptObject { AT_DECL_DNA_YAMLV String<-1> name; Value active; Value ftype; Value shape; Value filterIdx; Value unk; DNAColor color; Value timeIn; Value timeOut; UniqueID32 texture; void nameIDs(PAKRouter& pakRouter) const override { if (texture.isValid()) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(texture); ent->name = name + "_texture"; } } void gatherDependencies(std::vector& pathsOut, std::vector& lazyOut) const override { g_curSpec->flattenDependencies(texture, pathsOut); } }; } // namespace DataSpec::DNAMP1