Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::AnimationClipAsset Struct Reference
Inheritance diagram for Grindstone::AnimationClipAsset:
Grindstone::Asset

Classes

struct  BoneChannel
struct  Keyframe

Public Types

enum class  KeyframeInterpolation { Step , Linear , Cubic }
using PositionKeyframe = Keyframe<Grindstone::Math::Float3>
using RotationKeyframe = Keyframe<Grindstone::Math::Quaternion>
using ScaleKeyframe = Keyframe<Grindstone::Math::Float3>

Public Member Functions

 AnimationClipAsset (Uuid uuid, std::string_view name)
Public Member Functions inherited from Grindstone::Asset
 Asset (Uuid uuid, std::string_view name)
virtual AssetType GetAssetType () const
virtual bool operator== (const Asset &other) const
virtual bool operator!= (const Asset &other) const

Public Attributes

std::vector< BoneChannelboneChannels
std::vector< PositionKeyframe > positions
std::vector< RotationKeyframe > rotations
std::vector< ScaleKeyframe > scales
double ticksPerSecond = 0.0
double duration = 0.0
Public Attributes inherited from Grindstone::Asset
Uuid uuid
std::string name
size_t referenceCount = 1
AssetLoadStatus assetLoadStatus = AssetLoadStatus::Unloaded

Additional Inherited Members

Static Public Member Functions inherited from Grindstone::Asset
static AssetType GetStaticType ()

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