Format more engine code
This commit is contained in:
@@ -13,9 +13,8 @@
|
||||
/// </summary>
|
||||
API_CLASS(NoSpawn) class FLAXENGINE_API SceneAnimation final : public BinaryAsset
|
||||
{
|
||||
DECLARE_BINARY_ASSET_HEADER(SceneAnimation, 1);
|
||||
DECLARE_BINARY_ASSET_HEADER(SceneAnimation, 1);
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// The animation timeline track data.
|
||||
/// </summary>
|
||||
@@ -412,12 +411,10 @@ public:
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
BytesContainer _data;
|
||||
MemoryWriteStream _runtimeData;
|
||||
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// The frames amount per second of the timeline animation.
|
||||
/// </summary>
|
||||
@@ -439,14 +436,12 @@ public:
|
||||
int32 TrackStatesCount;
|
||||
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// Gets the animation duration (in seconds).
|
||||
/// </summary>
|
||||
API_PROPERTY() float GetDuration() const;
|
||||
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// Gets the serialized timeline data.
|
||||
/// </summary>
|
||||
@@ -466,14 +461,12 @@ public:
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
||||
// [BinaryAsset]
|
||||
#if USE_EDITOR
|
||||
void GetReferences(Array<Guid>& output) const override;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
|
||||
// [SceneAnimationBase]
|
||||
LoadResult load() override;
|
||||
void unload(bool isReloading) override;
|
||||
|
||||
Reference in New Issue
Block a user