MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / AddFrame

Method AddFrame

utilities/olcUTIL_Animate2D.h:126–129  ·  view source on GitHub ↗

Adds a frame to this sequence

Source from the content-addressed store, hash-verified

124
125 // Adds a frame to this sequence
126 inline void AddFrame(const Frame& frame)
127 {
128 m_vFrames.emplace_back(frame);
129 }
130
131 // Returns a Frame Object for a given time into an animation
132 inline const Frame& GetFrame(const float fTime) const

Callers 1

OnUserCreateMethod · 0.80

Calls

no outgoing calls

Tested by 1

OnUserCreateMethod · 0.64