Rumba C++ SDK
AnimLayer.h
Go to the documentation of this file.
1
/*
2
3
*
4
***
5
*****
6
********************* Mercenaries Engineering SARL
7
***************** Copyright (C) 2019
8
*************
9
********* http://www.mercenaries-engineering.com
10
***********
11
**** ****
12
** **
13
14
*/
15
#pragma once
16
17
#include "
Maquina/BaseLayer.h
"
18
19
namespace
maquina
20
{
21
// Animation Layer Node
22
class
MAQUINA_EXPORT
AnimLayer
:
public
BaseLayer
23
{
24
public
:
25
AnimLayer
(
Node
*node);
26
27
void
on_delete(
bool
undo_stack)
override
;
28
void
on_add_to_document()
override
;
29
void
on_remove_from_document()
override
;
30
31
void
relationship(
NodeSet
&
set
)
const override
;
32
35
virtual
bool
accept_channel_edition(
const
Plug
& channel_plug)
const
;
36
39
virtual
bool
override_channel(
const
Plug
& channel_plug,
float
frame)
const
;
40
41
// Add a curve plug to the key reduction
42
static
void
add_curve(
const
Node
& curve_node,
const
Node
& layer);
43
44
// Remove a curve plug from the key reduction
45
static
void
remove_curve(
const
Node
& curve_node);
46
};
47
}
maquina::AnimLayer
Definition:
AnimLayer.h:22
maquina::NodeSet
Definition:
NodeSet.h:21
BaseLayer.h
maquina
This version of the SDK is unstable, i-e, it may change with no warning.
Definition:
AddCurveAction.h:20
MAQUINA_EXPORT
#define MAQUINA_EXPORT
Definition:
Export.h:31
maquina::Plug
A node plug.
Definition:
Plug.h:59
maquina::BaseLayer
Definition:
BaseLayer.h:22
maquina::Node
Base class of all Rumba nodes.
Definition:
Node.h:37
maquina
include
Maquina
AnimLayer.h
Generated by
doxygen
1.8.14