NAP
sequencetracksegment.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4 
5 #pragma once
6 
7 // external includes
8 #include <nap/resource.h>
9 #include <nap/resourceptr.h>
10 #include <fcurve.h>
11 
12 namespace nap
13 {
15 
19  class NAPAPI SequenceTrackSegment : public Resource
20  {
21  RTTI_ENABLE(Resource)
22  public:
28  virtual bool init(utility::ErrorState& errorState) override;
29 
30 
35  {
36  };
37  public:
38  double mStartTime = 0.0;
39  double mDuration = 1.0;
40 
41  std::string mLabel = "default";
42  };
43 }
nap::SequenceTrackSegment::~SequenceTrackSegment
virtual ~SequenceTrackSegment()
Definition: sequencetracksegment.h:34
nap::utility::ErrorState
Definition: errorstate.h:19
nap::SequenceTrackSegment
Definition: sequencetracksegment.h:19
nap
Definition: templateapp.h:17
nap::Resource
Definition: resource.h:19