TimeLines, VirtualCameras
This commit is contained in:
parent
d6b968703d
commit
c19d8b71d8
|
@ -0,0 +1,70 @@
|
||||||
|
|
||||||
|
/* RJTimeLine.cpp */
|
||||||
|
|
||||||
|
#include "RJTimeLine.h"
|
||||||
|
|
||||||
|
|
||||||
|
void RJTimeLine::_bind_methods()
|
||||||
|
{
|
||||||
|
/* isLooping: bool */
|
||||||
|
ClassDB::bind_method(D_METHOD("get_isLooping"), &RJTimeLine::get_isLooping);
|
||||||
|
ClassDB::bind_method(D_METHOD("set_isLooping"), &RJTimeLine::set_isLooping);
|
||||||
|
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "isLooping"), "set_isLooping", "get_isLooping");
|
||||||
|
|
||||||
|
/* loopStart: float */
|
||||||
|
ClassDB::bind_method(D_METHOD("get_loopStart"), &RJTimeLine::get_loopStart);
|
||||||
|
ClassDB::bind_method(D_METHOD("set_loopStart"), &RJTimeLine::set_loopStart);
|
||||||
|
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "loopStart"), "set_loopStart", "get_loopStart");
|
||||||
|
|
||||||
|
/* loopEnd: float */
|
||||||
|
ClassDB::bind_method(D_METHOD("get_loopEnd"), &RJTimeLine::get_loopEnd);
|
||||||
|
ClassDB::bind_method(D_METHOD("set_loopEnd"), &RJTimeLine::set_loopEnd);
|
||||||
|
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "loopEnd"), "set_loopEnd", "get_loopEnd");
|
||||||
|
|
||||||
|
/* startSpeed: float */
|
||||||
|
ClassDB::bind_method(D_METHOD("get_startSpeed"), &RJTimeLine::get_startSpeed);
|
||||||
|
ClassDB::bind_method(D_METHOD("set_startSpeed"), &RJTimeLine::set_startSpeed);
|
||||||
|
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "startSpeed"), "set_startSpeed", "get_startSpeed");
|
||||||
|
|
||||||
|
/* autoStart: bool */
|
||||||
|
ClassDB::bind_method(D_METHOD("get_autoStart"), &RJTimeLine::get_autoStart);
|
||||||
|
ClassDB::bind_method(D_METHOD("set_autoStart"), &RJTimeLine::set_autoStart);
|
||||||
|
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "autoStart"), "set_autoStart", "get_autoStart");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
RJTimeLine::RJTimeLine()
|
||||||
|
{
|
||||||
|
isLooping = false;
|
||||||
|
loopStart = 0;
|
||||||
|
loopEnd = 16;
|
||||||
|
startSpeed = 1;
|
||||||
|
autoStart = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
RJTimeLine::~RJTimeLine()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* isLooping: bool */
|
||||||
|
bool RJTimeLine::get_isLooping() { return isLooping; }
|
||||||
|
void RJTimeLine::set_isLooping( bool p_isLooping ) { isLooping = p_isLooping; }
|
||||||
|
|
||||||
|
/* loopStart: float */
|
||||||
|
float RJTimeLine::get_loopStart() { return loopStart; }
|
||||||
|
void RJTimeLine::set_loopStart( float p_loopStart ) { loopStart = p_loopStart; }
|
||||||
|
|
||||||
|
/* loopEnd: float */
|
||||||
|
float RJTimeLine::get_loopEnd() { return loopEnd; }
|
||||||
|
void RJTimeLine::set_loopEnd( float p_loopEnd ) { loopEnd = p_loopEnd; }
|
||||||
|
|
||||||
|
/* startSpeed: float */
|
||||||
|
float RJTimeLine::get_startSpeed() { return startSpeed; }
|
||||||
|
void RJTimeLine::set_startSpeed( float p_startSpeed ) { startSpeed = p_startSpeed; }
|
||||||
|
|
||||||
|
/* autoStart: bool */
|
||||||
|
bool RJTimeLine::get_autoStart() { return autoStart; }
|
||||||
|
void RJTimeLine::set_autoStart( bool p_autoStart ) { autoStart = p_autoStart; }
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
|
||||||
|
/* RJTimeLine.h */
|
||||||
|
|
||||||
|
#ifndef ROKOJORI__TIME_LINE_H
|
||||||
|
#define ROKOJORI__TIME_LINE_H
|
||||||
|
|
||||||
|
|
||||||
|
#include "core/io/resource.h"
|
||||||
|
|
||||||
|
|
||||||
|
class RJTimeLine : public Resource
|
||||||
|
{
|
||||||
|
GDCLASS(RJTimeLine, Resource);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static void _bind_methods();
|
||||||
|
|
||||||
|
|
||||||
|
bool isLooping;
|
||||||
|
float loopStart;
|
||||||
|
float loopEnd;
|
||||||
|
float startSpeed;
|
||||||
|
bool autoStart;
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
bool get_isLooping(); void set_isLooping( bool p_isLooping );
|
||||||
|
float get_loopStart(); void set_loopStart( float p_loopStart );
|
||||||
|
float get_loopEnd(); void set_loopEnd( float p_loopEnd );
|
||||||
|
float get_startSpeed(); void set_startSpeed( float p_startSpeed );
|
||||||
|
bool get_autoStart(); void set_autoStart( bool p_autoStart );
|
||||||
|
|
||||||
|
RJTimeLine();
|
||||||
|
|
||||||
|
~RJTimeLine();
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif // ROKOJORI__TIME_LINE_H
|
|
@ -0,0 +1,36 @@
|
||||||
|
|
||||||
|
/* RJTimeLineManager.cpp */
|
||||||
|
|
||||||
|
#include "RJTimeLineManager.h"
|
||||||
|
|
||||||
|
|
||||||
|
void RJTimeLineManager::_bind_methods()
|
||||||
|
{
|
||||||
|
GDVIRTUAL_BIND( getTimeLineIndex, "timeLine" );
|
||||||
|
GDVIRTUAL_BIND( getTimeLineSize );
|
||||||
|
GDVIRTUAL_BIND( createID );
|
||||||
|
GDVIRTUAL_BIND( getLastPosition, "timeLineIndex" );
|
||||||
|
GDVIRTUAL_BIND( getPosition, "timeLineIndex" );
|
||||||
|
GDVIRTUAL_BIND( setPosition, "timeLineIndex", "position" );
|
||||||
|
GDVIRTUAL_BIND( getSpeed, "timeLineIndex" );
|
||||||
|
GDVIRTUAL_BIND( setSpeed, "timeLineIndex", "speed" );
|
||||||
|
GDVIRTUAL_BIND( getPlayState, "timeLineIndex" );
|
||||||
|
GDVIRTUAL_BIND( setPlayState, "timeLineIndex", "playState" );
|
||||||
|
GDVIRTUAL_BIND( scheduleEvent, "timeLineIndex", "position", "callbackID", "isPersistent" );
|
||||||
|
GDVIRTUAL_BIND( scheduleSpan, "timeLineIndex", "startPosition", "endPosition", "callbackID", "isPersistent" );
|
||||||
|
ADD_SIGNAL (MethodInfo( "onEvent" , PropertyInfo(Variant::INT, "callbackID")) );
|
||||||
|
ADD_SIGNAL (MethodInfo( "onSpan" , PropertyInfo(Variant::INT, "callbackID"), PropertyInfo(Variant::INT, "spanType")) );
|
||||||
|
}
|
||||||
|
|
||||||
|
RJTimeLineManager::RJTimeLineManager()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
RJTimeLineManager::~RJTimeLineManager()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
|
||||||
|
/* RJTimeLineManager.h */
|
||||||
|
|
||||||
|
#ifndef ROKOJORI__TIME_LINE_MANAGER_H
|
||||||
|
#define ROKOJORI__TIME_LINE_MANAGER_H
|
||||||
|
|
||||||
|
#include "./RJTimeLine.h"
|
||||||
|
#include "./RJNetworkNode.h"
|
||||||
|
|
||||||
|
|
||||||
|
class RJTimeLineManager : public RJNetworkNode
|
||||||
|
{
|
||||||
|
GDCLASS(RJTimeLineManager, RJNetworkNode);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static void _bind_methods();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
GDVIRTUAL1R( int, getTimeLineIndex, Ref<RJTimeLine> );
|
||||||
|
GDVIRTUAL0R( int, getTimeLineSize );
|
||||||
|
GDVIRTUAL0R( int, createID );
|
||||||
|
GDVIRTUAL1R( double, getLastPosition, int );
|
||||||
|
GDVIRTUAL1R( double, getPosition, int );
|
||||||
|
GDVIRTUAL2( setPosition, int, double );
|
||||||
|
GDVIRTUAL1R( double, getSpeed, int );
|
||||||
|
GDVIRTUAL2( setSpeed, int, double );
|
||||||
|
GDVIRTUAL1R( bool, getPlayState, int );
|
||||||
|
GDVIRTUAL2( setPlayState, int, bool );
|
||||||
|
GDVIRTUAL4( scheduleEvent, int, double, int, bool );
|
||||||
|
GDVIRTUAL5( scheduleSpan, int, double, double, int, bool );
|
||||||
|
/* signal onEvent */
|
||||||
|
/* signal onSpan */
|
||||||
|
|
||||||
|
RJTimeLineManager();
|
||||||
|
|
||||||
|
~RJTimeLineManager();
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif // ROKOJORI__TIME_LINE_MANAGER_H
|
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
void RJUpdatable::_bind_methods()
|
void RJUpdatable::_bind_methods()
|
||||||
{
|
{
|
||||||
GDVIRTUAL_BIND( update );
|
GDVIRTUAL_BIND( update, "delta" );
|
||||||
}
|
}
|
||||||
|
|
||||||
RJUpdatable::RJUpdatable()
|
RJUpdatable::RJUpdatable()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RJUpdatable::~RJUpdatable()
|
RJUpdatable::~RJUpdatable()
|
||||||
|
@ -19,3 +19,5 @@ RJUpdatable::~RJUpdatable()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,8 @@ protected:
|
||||||
static void _bind_methods();
|
static void _bind_methods();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
GDVIRTUAL1( update, double );
|
GDVIRTUAL1( update, double );
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
/* RJVirtualCamera3D.cpp */
|
||||||
|
|
||||||
|
#include "RJVirtualCamera3D.h"
|
||||||
|
|
||||||
|
|
||||||
|
void RJVirtualCamera3D::_bind_methods()
|
||||||
|
{
|
||||||
|
GDVIRTUAL_BIND( getCameraPosition );
|
||||||
|
GDVIRTUAL_BIND( getCameraRotation );
|
||||||
|
GDVIRTUAL_BIND( getCameraFOV );
|
||||||
|
}
|
||||||
|
|
||||||
|
RJVirtualCamera3D::RJVirtualCamera3D()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
RJVirtualCamera3D::~RJVirtualCamera3D()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
|
||||||
|
/* RJVirtualCamera3D.h */
|
||||||
|
|
||||||
|
#ifndef ROKOJORI__VIRTUAL_CAMERA_3_D_H
|
||||||
|
#define ROKOJORI__VIRTUAL_CAMERA_3_D_H
|
||||||
|
|
||||||
|
|
||||||
|
#include "scene/3d/node_3d.h"
|
||||||
|
|
||||||
|
|
||||||
|
class RJVirtualCamera3D : public Node3D
|
||||||
|
{
|
||||||
|
GDCLASS(RJVirtualCamera3D, Node3D);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static void _bind_methods();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
GDVIRTUAL0R( Vector3, getCameraPosition );
|
||||||
|
GDVIRTUAL0R( Quaternion, getCameraRotation );
|
||||||
|
GDVIRTUAL0R( float, getCameraFOV );
|
||||||
|
|
||||||
|
RJVirtualCamera3D();
|
||||||
|
|
||||||
|
~RJVirtualCamera3D();
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif // ROKOJORI__VIRTUAL_CAMERA_3_D_H
|
|
@ -0,0 +1,45 @@
|
||||||
|
|
||||||
|
/* RJVirtualCamera3DManager.cpp */
|
||||||
|
|
||||||
|
#include "RJVirtualCamera3DManager.h"
|
||||||
|
|
||||||
|
|
||||||
|
void RJVirtualCamera3DManager::_bind_methods()
|
||||||
|
{
|
||||||
|
GDVIRTUAL_BIND( getCamera, "cameraIndex" );
|
||||||
|
GDVIRTUAL_BIND( getCameraIndex, "timeLine" );
|
||||||
|
GDVIRTUAL_BIND( getCameraSize );
|
||||||
|
GDVIRTUAL_BIND( getCameraPriority, "cameraIndex" );
|
||||||
|
GDVIRTUAL_BIND( setCameraPriority, "cameraIndex", "priority" );
|
||||||
|
/* cameraPrioritySmoothingCoefficient: float */
|
||||||
|
ClassDB::bind_method(D_METHOD("get_cameraPrioritySmoothingCoefficient"), &RJVirtualCamera3DManager::get_cameraPrioritySmoothingCoefficient);
|
||||||
|
ClassDB::bind_method(D_METHOD("set_cameraPrioritySmoothingCoefficient"), &RJVirtualCamera3DManager::set_cameraPrioritySmoothingCoefficient);
|
||||||
|
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "cameraPrioritySmoothingCoefficient"), "set_cameraPrioritySmoothingCoefficient", "get_cameraPrioritySmoothingCoefficient");
|
||||||
|
|
||||||
|
/* cameraPrioritySmoothingStepFPS: float */
|
||||||
|
ClassDB::bind_method(D_METHOD("get_cameraPrioritySmoothingStepFPS"), &RJVirtualCamera3DManager::get_cameraPrioritySmoothingStepFPS);
|
||||||
|
ClassDB::bind_method(D_METHOD("set_cameraPrioritySmoothingStepFPS"), &RJVirtualCamera3DManager::set_cameraPrioritySmoothingStepFPS);
|
||||||
|
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "cameraPrioritySmoothingStepFPS"), "set_cameraPrioritySmoothingStepFPS", "get_cameraPrioritySmoothingStepFPS");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
RJVirtualCamera3DManager::RJVirtualCamera3DManager()
|
||||||
|
{
|
||||||
|
cameraPrioritySmoothingCoefficient = 0.5;
|
||||||
|
cameraPrioritySmoothingStepFPS = 120;
|
||||||
|
}
|
||||||
|
|
||||||
|
RJVirtualCamera3DManager::~RJVirtualCamera3DManager()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* cameraPrioritySmoothingCoefficient: float */
|
||||||
|
float RJVirtualCamera3DManager::get_cameraPrioritySmoothingCoefficient() { return cameraPrioritySmoothingCoefficient; }
|
||||||
|
void RJVirtualCamera3DManager::set_cameraPrioritySmoothingCoefficient( float p_cameraPrioritySmoothingCoefficient ) { cameraPrioritySmoothingCoefficient = p_cameraPrioritySmoothingCoefficient; }
|
||||||
|
|
||||||
|
/* cameraPrioritySmoothingStepFPS: float */
|
||||||
|
float RJVirtualCamera3DManager::get_cameraPrioritySmoothingStepFPS() { return cameraPrioritySmoothingStepFPS; }
|
||||||
|
void RJVirtualCamera3DManager::set_cameraPrioritySmoothingStepFPS( float p_cameraPrioritySmoothingStepFPS ) { cameraPrioritySmoothingStepFPS = p_cameraPrioritySmoothingStepFPS; }
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
|
||||||
|
/* RJVirtualCamera3DManager.h */
|
||||||
|
|
||||||
|
#ifndef ROKOJORI__VIRTUAL_CAMERA_3_D_MANAGER_H
|
||||||
|
#define ROKOJORI__VIRTUAL_CAMERA_3_D_MANAGER_H
|
||||||
|
|
||||||
|
#include "./RJVirtualCamera3D.h"
|
||||||
|
#include "./RJNetworkNode.h"
|
||||||
|
|
||||||
|
|
||||||
|
class RJVirtualCamera3DManager : public RJNetworkNode
|
||||||
|
{
|
||||||
|
GDCLASS(RJVirtualCamera3DManager, RJNetworkNode);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static void _bind_methods();
|
||||||
|
|
||||||
|
|
||||||
|
float cameraPrioritySmoothingCoefficient;
|
||||||
|
float cameraPrioritySmoothingStepFPS;
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
GDVIRTUAL1R( Ref<RJVirtualCamera3D>, getCamera, int );
|
||||||
|
GDVIRTUAL1R( int, getCameraIndex, Ref<RJVirtualCamera3D> );
|
||||||
|
GDVIRTUAL0R( int, getCameraSize );
|
||||||
|
GDVIRTUAL1R( float, getCameraPriority, int );
|
||||||
|
GDVIRTUAL2( setCameraPriority, int, float );
|
||||||
|
float get_cameraPrioritySmoothingCoefficient(); void set_cameraPrioritySmoothingCoefficient( float p_cameraPrioritySmoothingCoefficient );
|
||||||
|
float get_cameraPrioritySmoothingStepFPS(); void set_cameraPrioritySmoothingStepFPS( float p_cameraPrioritySmoothingStepFPS );
|
||||||
|
|
||||||
|
RJVirtualCamera3DManager();
|
||||||
|
|
||||||
|
~RJVirtualCamera3DManager();
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif // ROKOJORI__VIRTUAL_CAMERA_3_D_MANAGER_H
|
|
@ -0,0 +1,81 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 16 16"
|
||||||
|
width="16"
|
||||||
|
version="1.1"
|
||||||
|
id="svg4"
|
||||||
|
sodipodi:docname="RJTimeLine.svg"
|
||||||
|
inkscape:version="1.2.2 (732a01da63, 2022-12-09)"
|
||||||
|
xml:space="preserve"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||||
|
id="defs8"><linearGradient
|
||||||
|
inkscape:collect="never"
|
||||||
|
id="linearGradient3074"><stop
|
||||||
|
style="stop-color:#e26708;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop3070" /><stop
|
||||||
|
style="stop-color:#bb3c00;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop3072" /></linearGradient><radialGradient
|
||||||
|
xlink:href="#linearGradient45008"
|
||||||
|
id="radialGradient3076"
|
||||||
|
cx="30.688875"
|
||||||
|
cy="30.069115"
|
||||||
|
fx="30.688875"
|
||||||
|
fy="30.069115"
|
||||||
|
r="14.05412"
|
||||||
|
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||||
|
xlink:href="#linearGradient45008"
|
||||||
|
id="linearGradient45010"
|
||||||
|
x1="-31.87768"
|
||||||
|
y1="22.065159"
|
||||||
|
x2="-31.87768"
|
||||||
|
y2="48.78738"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="translate(101.16951,-6.5921995)" /><linearGradient
|
||||||
|
id="linearGradient45008"><stop
|
||||||
|
style="stop-color:#e14500;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop45004" /><stop
|
||||||
|
style="stop-color:#e17900;stop-opacity:1;"
|
||||||
|
offset="0.59811592"
|
||||||
|
id="stop45012" /><stop
|
||||||
|
style="stop-color:#e19c00;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop45006" /></linearGradient><linearGradient
|
||||||
|
xlink:href="#linearGradient45008"
|
||||||
|
id="linearGradient46715"
|
||||||
|
x1="31.917692"
|
||||||
|
y1="47.524929"
|
||||||
|
x2="31.917692"
|
||||||
|
y2="22.632998"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="translate(1.7923447e-6)" /></defs><sodipodi:namedview
|
||||||
|
id="namedview6"
|
||||||
|
pagecolor="#505050"
|
||||||
|
bordercolor="#eeeeee"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#505050"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="11.313709"
|
||||||
|
inkscape:cx="25.323261"
|
||||||
|
inkscape:cy="-11.136932"
|
||||||
|
inkscape:window-width="3840"
|
||||||
|
inkscape:window-height="2066"
|
||||||
|
inkscape:window-x="-11"
|
||||||
|
inkscape:window-y="-11"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="g2210" /><g
|
||||||
|
id="g2210"
|
||||||
|
transform="matrix(0.54328517,0,0,0.54328517,-9.4489315,-11.300948)"><path
|
||||||
|
id="path2976"
|
||||||
|
style="fill:#f7b200;fill-opacity:1;stroke:none;stroke-width:1.84065;stroke-linecap:square;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke markers fill"
|
||||||
|
d="M 32.117445 23.314059 A 12.213465 12.213465 0 0 0 19.905137 35.526366 A 12.213465 12.213465 0 0 0 32.117445 47.738674 A 12.213465 12.213465 0 0 0 44.329753 35.526366 A 12.213465 12.213465 0 0 0 32.117445 23.314059 z M 32.117445 24.834755 C 32.818502 24.834755 33.382894 25.399147 33.382894 26.100205 L 33.382894 34.260917 L 41.176914 34.260917 C 41.877971 34.260917 42.442363 34.825309 42.442363 35.526366 C 42.442363 36.227425 41.877971 36.791816 41.176914 36.791816 L 32.117445 36.791816 C 31.416387 36.791816 30.851995 36.227425 30.851995 35.526366 C 30.851995 35.463797 30.857688 35.403108 30.866375 35.34302 C 30.857688 35.282932 30.851995 35.222243 30.851995 35.159674 L 30.851995 26.100205 C 30.851995 25.399147 31.416387 24.834755 32.117445 24.834755 z " /></g></svg>
|
After Width: | Height: | Size: 3.6 KiB |
|
@ -0,0 +1,109 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 16 16"
|
||||||
|
width="16"
|
||||||
|
version="1.1"
|
||||||
|
id="svg4"
|
||||||
|
sodipodi:docname="RJTimeLineManager.svg"
|
||||||
|
inkscape:version="1.2.2 (732a01da63, 2022-12-09)"
|
||||||
|
xml:space="preserve"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||||
|
id="defs8"><linearGradient
|
||||||
|
inkscape:collect="never"
|
||||||
|
id="linearGradient45008"><stop
|
||||||
|
style="stop-color:#e14500;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop45004" /><stop
|
||||||
|
style="stop-color:#e17900;stop-opacity:1;"
|
||||||
|
offset="0.59811592"
|
||||||
|
id="stop45012" /><stop
|
||||||
|
style="stop-color:#e19c00;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop45006" /></linearGradient><linearGradient
|
||||||
|
id="linearGradient3074"><stop
|
||||||
|
style="stop-color:#e26708;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop41767" /><stop
|
||||||
|
style="stop-color:#bb3c00;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop41769" /></linearGradient><linearGradient
|
||||||
|
inkscape:collect="never"
|
||||||
|
id="linearGradient41763"><stop
|
||||||
|
style="stop-color:#c44601;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop41759" /><stop
|
||||||
|
style="stop-color:#c44601;stop-opacity:0;"
|
||||||
|
offset="1"
|
||||||
|
id="stop41761" /></linearGradient><linearGradient
|
||||||
|
id="linearGradient3074-1"><stop
|
||||||
|
style="stop-color:#e26708;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop3070" /><stop
|
||||||
|
style="stop-color:#bb3c00;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop3072" /></linearGradient><radialGradient
|
||||||
|
inkscape:collect="never"
|
||||||
|
xlink:href="#linearGradient3074"
|
||||||
|
id="radialGradient3076"
|
||||||
|
cx="30.688875"
|
||||||
|
cy="30.069115"
|
||||||
|
fx="30.688875"
|
||||||
|
fy="30.069115"
|
||||||
|
r="14.05412"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="translate(29.854048,-33.595973)" /><radialGradient
|
||||||
|
xlink:href="#linearGradient3074-1"
|
||||||
|
id="radialGradient41765"
|
||||||
|
cx="31.384058"
|
||||||
|
cy="24.852852"
|
||||||
|
fx="31.384058"
|
||||||
|
fy="24.852852"
|
||||||
|
r="12.697636"
|
||||||
|
gradientTransform="matrix(1,0,0,1.0598811,0,-2.1300476)"
|
||||||
|
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||||
|
inkscape:collect="never"
|
||||||
|
xlink:href="#linearGradient45008"
|
||||||
|
id="linearGradient45010"
|
||||||
|
x1="-35.443947"
|
||||||
|
y1="48.898441"
|
||||||
|
x2="-35.443947"
|
||||||
|
y2="22.097898"
|
||||||
|
gradientUnits="userSpaceOnUse" /></defs><sodipodi:namedview
|
||||||
|
id="namedview6"
|
||||||
|
pagecolor="#505050"
|
||||||
|
bordercolor="#eeeeee"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#505050"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="16"
|
||||||
|
inkscape:cx="9.15625"
|
||||||
|
inkscape:cy="3.4375"
|
||||||
|
inkscape:window-width="3840"
|
||||||
|
inkscape:window-height="2066"
|
||||||
|
inkscape:window-x="-11"
|
||||||
|
inkscape:window-y="-11"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="g42046" /><g
|
||||||
|
id="g2210"
|
||||||
|
transform="matrix(0.54328517,0,0,0.54328517,-9.4489315,-11.300948)"><g
|
||||||
|
id="g42046"
|
||||||
|
transform="matrix(-1,0,0,1,63.751841,0.44578338)"><path
|
||||||
|
id="rect44997"
|
||||||
|
style="fill:#f7b200;fill-opacity:1;stroke:none;stroke-width:0.312261;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||||
|
d="m 39.443345,26.297932 c 0.703901,0 1.270998,0.564657 1.270998,1.268557 v 3.256779 c 0,0.7039 -0.567097,1.268557 -1.270998,1.268557 h -4.152087 v 11.151112 c 0,0.7039 -0.567097,1.270997 -1.270997,1.270997 h -4.77173 c -0.703899,0 -1.270997,-0.567097 -1.270997,-1.270997 V 32.091825 h -4.152087 c -0.703901,0 -1.270997,-0.564657 -1.270997,-1.268557 v -3.256779 c 0,-0.7039 0.567096,-1.268557 1.270997,-1.268557 z" /><rect
|
||||||
|
style="fill:none;fill-opacity:1;stroke:#f7b200;stroke-width:0.92032698;stroke-linecap:round;stroke-dasharray:3.68130792,3.68130792;stroke-opacity:1;stroke-dashoffset:0"
|
||||||
|
id="rect62189"
|
||||||
|
width="26.485163"
|
||||||
|
height="26.63883"
|
||||||
|
x="-44.83992"
|
||||||
|
y="21.886124"
|
||||||
|
transform="scale(-1,1)"
|
||||||
|
ry="1.9929814" /></g></g></svg>
|
After Width: | Height: | Size: 4.3 KiB |
|
@ -0,0 +1,87 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 16 16"
|
||||||
|
width="16"
|
||||||
|
version="1.1"
|
||||||
|
id="svg4"
|
||||||
|
sodipodi:docname="RJVirtualCamera3D.svg"
|
||||||
|
inkscape:version="1.2.2 (732a01da63, 2022-12-09)"
|
||||||
|
xml:space="preserve"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||||
|
id="defs8"><linearGradient
|
||||||
|
inkscape:collect="never"
|
||||||
|
id="linearGradient3074"><stop
|
||||||
|
style="stop-color:#e26708;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop3070" /><stop
|
||||||
|
style="stop-color:#bb3c00;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop3072" /></linearGradient><radialGradient
|
||||||
|
xlink:href="#linearGradient45008"
|
||||||
|
id="radialGradient3076"
|
||||||
|
cx="30.688875"
|
||||||
|
cy="30.069115"
|
||||||
|
fx="30.688875"
|
||||||
|
fy="30.069115"
|
||||||
|
r="14.05412"
|
||||||
|
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||||
|
xlink:href="#linearGradient45008"
|
||||||
|
id="linearGradient45010"
|
||||||
|
x1="-31.87768"
|
||||||
|
y1="22.065159"
|
||||||
|
x2="-31.87768"
|
||||||
|
y2="48.78738"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="translate(101.16951,-6.5921995)" /><linearGradient
|
||||||
|
id="linearGradient45008"><stop
|
||||||
|
style="stop-color:#e14500;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop45004" /><stop
|
||||||
|
style="stop-color:#e17900;stop-opacity:1;"
|
||||||
|
offset="0.59811592"
|
||||||
|
id="stop45012" /><stop
|
||||||
|
style="stop-color:#e19c00;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop45006" /></linearGradient><linearGradient
|
||||||
|
xlink:href="#linearGradient45008"
|
||||||
|
id="linearGradient46715"
|
||||||
|
x1="31.917692"
|
||||||
|
y1="47.524929"
|
||||||
|
x2="31.917692"
|
||||||
|
y2="22.632998"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="translate(1.7923447e-6)" /></defs><sodipodi:namedview
|
||||||
|
id="namedview6"
|
||||||
|
pagecolor="#505050"
|
||||||
|
bordercolor="#eeeeee"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#505050"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="11.313709"
|
||||||
|
inkscape:cx="6.67332"
|
||||||
|
inkscape:cy="-18.915106"
|
||||||
|
inkscape:window-width="3840"
|
||||||
|
inkscape:window-height="2066"
|
||||||
|
inkscape:window-x="-11"
|
||||||
|
inkscape:window-y="-11"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="g2210" /><g
|
||||||
|
id="g2210"
|
||||||
|
transform="matrix(0.54328517,0,0,0.54328517,-9.4489315,-11.300948)"><path
|
||||||
|
d="m 35.016713,24.579965 a 5.7440081,5.7440081 0 0 0 -5.744008,5.317037 5.7440081,5.7440081 0 1 0 -5.744008,9.663336 v 4.166321 a 1.9146694,1.9146694 0 0 0 1.914669,1.914669 h 11.488016 a 1.9146694,1.9146694 0 0 0 1.91467,-1.914669 v -1.91467 l 5.744008,3.829339 V 34.153312 l -5.744008,3.829339 v -3.388966 a 5.7440081,5.7440081 0 0 0 -3.829339,-10.01372 z"
|
||||||
|
fill="#fc7f7f"
|
||||||
|
id="path66330"
|
||||||
|
style="fill:none;fill-opacity:1;stroke:#f7b200;stroke-width:1.91467;stroke-opacity:1" /><g
|
||||||
|
aria-label="V"
|
||||||
|
id="text69820"
|
||||||
|
style="font-weight:900;font-size:12.3951px;font-family:Jost;-inkscape-font-specification:'Jost Heavy';fill:#f7b200;stroke-width:1.27885;stroke-linecap:round"><path
|
||||||
|
d="M 30.679334,37.932946 29.005996,33.693822 H 25.78327 l 4.896064,9.296325 4.896065,-9.296325 h -3.222726 z"
|
||||||
|
id="path74080" /></g></g></svg>
|
After Width: | Height: | Size: 3.5 KiB |
|
@ -0,0 +1,101 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 16 16"
|
||||||
|
width="16"
|
||||||
|
version="1.1"
|
||||||
|
id="svg4"
|
||||||
|
sodipodi:docname="RJVirtualCamera3DManager.svg"
|
||||||
|
inkscape:version="1.2.2 (732a01da63, 2022-12-09)"
|
||||||
|
xml:space="preserve"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||||
|
id="defs8"><linearGradient
|
||||||
|
inkscape:collect="never"
|
||||||
|
id="linearGradient3074"><stop
|
||||||
|
style="stop-color:#e26708;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop3070" /><stop
|
||||||
|
style="stop-color:#bb3c00;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop3072" /></linearGradient><radialGradient
|
||||||
|
xlink:href="#linearGradient45008"
|
||||||
|
id="radialGradient3076"
|
||||||
|
cx="30.688875"
|
||||||
|
cy="30.069115"
|
||||||
|
fx="30.688875"
|
||||||
|
fy="30.069115"
|
||||||
|
r="14.05412"
|
||||||
|
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||||
|
xlink:href="#linearGradient45008"
|
||||||
|
id="linearGradient45010"
|
||||||
|
x1="-31.87768"
|
||||||
|
y1="22.065159"
|
||||||
|
x2="-31.87768"
|
||||||
|
y2="48.78738"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="translate(101.16951,-6.5921995)" /><linearGradient
|
||||||
|
id="linearGradient45008"><stop
|
||||||
|
style="stop-color:#e14500;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop45004" /><stop
|
||||||
|
style="stop-color:#e17900;stop-opacity:1;"
|
||||||
|
offset="0.59811592"
|
||||||
|
id="stop45012" /><stop
|
||||||
|
style="stop-color:#e19c00;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop45006" /></linearGradient><linearGradient
|
||||||
|
xlink:href="#linearGradient45008"
|
||||||
|
id="linearGradient46715"
|
||||||
|
x1="31.917692"
|
||||||
|
y1="47.524929"
|
||||||
|
x2="31.917692"
|
||||||
|
y2="22.632998"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="translate(1.7923447e-6)" /></defs><sodipodi:namedview
|
||||||
|
id="namedview6"
|
||||||
|
pagecolor="#505050"
|
||||||
|
bordercolor="#eeeeee"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#505050"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="32"
|
||||||
|
inkscape:cx="0.92187499"
|
||||||
|
inkscape:cy="2.875"
|
||||||
|
inkscape:window-width="3840"
|
||||||
|
inkscape:window-height="2066"
|
||||||
|
inkscape:window-x="-11"
|
||||||
|
inkscape:window-y="-11"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="g2210" /><g
|
||||||
|
id="g2210"
|
||||||
|
transform="matrix(0.54328517,0,0,0.54328517,-9.4489315,-11.300948)"><rect
|
||||||
|
style="fill:#f7b200;fill-opacity:1;stroke:#f7b200;stroke-width:1.49862;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
id="rect73011"
|
||||||
|
width="21.054333"
|
||||||
|
height="20.896698"
|
||||||
|
x="21.590279"
|
||||||
|
y="25.017715"
|
||||||
|
ry="1.6226455" /><path
|
||||||
|
d="m 34.359456,27.456752 a 4.0069801,4.0069801 0 0 0 -4.00698,3.709128 4.0069801,4.0069801 0 1 0 -4.006981,6.741076 v 2.906397 a 1.3356602,1.3356602 0 0 0 1.33566,1.335659 h 8.01396 a 1.3356602,1.3356602 0 0 0 1.33566,-1.335659 v -1.335662 l 4.006981,2.671321 v -8.01396 l -4.006981,2.67132 v -2.36412 a 4.0069801,4.0069801 0 0 0 -2.671319,-6.9855 z"
|
||||||
|
fill="#fc7f7f"
|
||||||
|
id="path66330"
|
||||||
|
style="fill:#4c4331;fill-opacity:1;stroke:none;stroke-width:1.33566;stroke-opacity:1" /><rect
|
||||||
|
style="fill:none;fill-opacity:1;stroke:#f7b200;stroke-width:0.9755466;stroke-linecap:round;stroke-dasharray:1.951093,1.951093;stroke-opacity:1;stroke-dashoffset:0"
|
||||||
|
id="rect73015"
|
||||||
|
width="27.224928"
|
||||||
|
height="27.021097"
|
||||||
|
x="18.555254"
|
||||||
|
y="22.005413"
|
||||||
|
ry="1.927956" /><g
|
||||||
|
aria-label="V"
|
||||||
|
id="text73440"
|
||||||
|
style="font-weight:900;font-size:8.03243px;line-height:1;font-family:Jost;-inkscape-font-specification:'Jost Heavy';fill:#f7b200;stroke-width:0.133037;stroke-linecap:round;stroke-dasharray:0.266074, 0.266074"><path
|
||||||
|
d="m 31.496831,36.331456 -1.084378,-2.747091 h -2.088432 l 3.17281,6.024322 3.17281,-6.024322 h -2.088432 z"
|
||||||
|
id="path73561" /></g></g></svg>
|
After Width: | Height: | Size: 4.1 KiB |
|
@ -10,6 +10,10 @@
|
||||||
#include "./RJSensor.h"
|
#include "./RJSensor.h"
|
||||||
#include "./RJSequenceAction.h"
|
#include "./RJSequenceAction.h"
|
||||||
#include "./RJUpdatable.h"
|
#include "./RJUpdatable.h"
|
||||||
|
#include "./RJTimeLine.h"
|
||||||
|
#include "./RJTimeLineManager.h"
|
||||||
|
#include "./RJVirtualCamera3D.h"
|
||||||
|
#include "./RJVirtualCamera3DManager.h"
|
||||||
|
|
||||||
void initialize_rokojori_action_library_module( ModuleInitializationLevel p_level )
|
void initialize_rokojori_action_library_module( ModuleInitializationLevel p_level )
|
||||||
{
|
{
|
||||||
|
@ -24,6 +28,10 @@ void initialize_rokojori_action_library_module( ModuleInitializationLevel p_leve
|
||||||
ClassDB::register_class<RJSensor>();
|
ClassDB::register_class<RJSensor>();
|
||||||
ClassDB::register_class<RJSequenceAction>();
|
ClassDB::register_class<RJSequenceAction>();
|
||||||
ClassDB::register_class<RJUpdatable>();
|
ClassDB::register_class<RJUpdatable>();
|
||||||
|
ClassDB::register_class<RJTimeLine>();
|
||||||
|
ClassDB::register_class<RJTimeLineManager>();
|
||||||
|
ClassDB::register_class<RJVirtualCamera3D>();
|
||||||
|
ClassDB::register_class<RJVirtualCamera3DManager>();
|
||||||
}
|
}
|
||||||
|
|
||||||
void uninitialize_rokojori_action_library_module( ModuleInitializationLevel p_level )
|
void uninitialize_rokojori_action_library_module( ModuleInitializationLevel p_level )
|
||||||
|
|
Loading…
Reference in New Issue