NAP
parameterblendgroup.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 // Local Includes
8 #include "parametergroup.h"
9 
10 // External Includes
11 #include <nap/resource.h>
12 #include <nap/resourceptr.h>
13 
14 namespace nap
15 {
21  class NAPAPI ParameterBlendGroup : public Resource
22  {
23  RTTI_ENABLE(Resource)
24  public:
25  virtual ~ParameterBlendGroup();
26 
33  virtual bool init(utility::ErrorState& errorState) override;
34 
35  std::vector<ResourcePtr<Parameter>> mParameters;
36  nap::ResourcePtr<ParameterGroup> mRootGroup = nullptr;
37  bool mBlendAll = false;
38  };
39 }
nap::ParameterBlendGroup::mParameters
std::vector< ResourcePtr< Parameter > > mParameters
Property: 'Parameters' list of parameters that are blended.
Definition: parameterblendgroup.h:35
nap::rtti::ObjectPtr
Definition: objectptr.h:154
nap::ParameterBlendGroup
Definition: parameterblendgroup.h:21
nap::utility::ErrorState
Definition: errorstate.h:19
nap
Definition: templateapp.h:17
nap::Resource
Definition: resource.h:19