2024-05-19 15:48:01 +00:00
|
|
|
|
|
|
|
/* RJVirtualCamera3DManager.h */
|
|
|
|
|
|
|
|
#ifndef ROKOJORI__VIRTUAL_CAMERA_3_D_MANAGER_H
|
|
|
|
#define ROKOJORI__VIRTUAL_CAMERA_3_D_MANAGER_H
|
|
|
|
|
2024-08-02 06:21:30 +00:00
|
|
|
#include "./RJGodotHeaders.h"
|
2024-05-19 15:48:01 +00:00
|
|
|
#include "./RJVirtualCamera3D.h"
|
|
|
|
#include "./RJNetworkNode.h"
|
|
|
|
|
|
|
|
|
2024-08-02 06:21:30 +00:00
|
|
|
|
|
|
|
|
2024-05-19 15:48:01 +00:00
|
|
|
class RJVirtualCamera3DManager : public RJNetworkNode
|
|
|
|
{
|
2024-08-02 06:21:30 +00:00
|
|
|
GDCLASS( RJVirtualCamera3DManager, RJNetworkNode );
|
2024-05-19 15:48:01 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
|
|
|
|
|
|
|
|
2024-08-02 06:21:30 +00:00
|
|
|
|
|
|
|
// cameraPrioritySmoothingCoefficient : float
|
2024-05-19 15:48:01 +00:00
|
|
|
float cameraPrioritySmoothingCoefficient;
|
2024-08-02 06:21:30 +00:00
|
|
|
|
|
|
|
// cameraPrioritySmoothingStepFPS : float
|
2024-05-19 15:48:01 +00:00
|
|
|
float cameraPrioritySmoothingStepFPS;
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2024-08-02 06:21:30 +00:00
|
|
|
|
|
|
|
// getCamera( int cameraIndex ) : Ref<RJVirtualCamera3D>
|
2024-05-19 15:48:01 +00:00
|
|
|
GDVIRTUAL1R( Ref<RJVirtualCamera3D>, getCamera, int );
|
2024-08-02 06:21:30 +00:00
|
|
|
|
|
|
|
// getCameraIndex( Ref<RJVirtualCamera3D> timeLine ) : int
|
2024-05-19 15:48:01 +00:00
|
|
|
GDVIRTUAL1R( int, getCameraIndex, Ref<RJVirtualCamera3D> );
|
2024-08-02 06:21:30 +00:00
|
|
|
|
|
|
|
// getCameraSize() : int
|
2024-05-19 15:48:01 +00:00
|
|
|
GDVIRTUAL0R( int, getCameraSize );
|
2024-08-02 06:21:30 +00:00
|
|
|
|
|
|
|
// getCameraPriority( int cameraIndex ) : float
|
2024-05-19 15:48:01 +00:00
|
|
|
GDVIRTUAL1R( float, getCameraPriority, int );
|
2024-08-02 06:21:30 +00:00
|
|
|
|
|
|
|
// setCameraPriority( int cameraIndex, float priority ) : void
|
2024-05-19 15:48:01 +00:00
|
|
|
GDVIRTUAL2( setCameraPriority, int, float );
|
2024-08-02 06:21:30 +00:00
|
|
|
|
|
|
|
// cameraPrioritySmoothingCoefficient : float
|
2024-05-19 15:48:01 +00:00
|
|
|
float get_cameraPrioritySmoothingCoefficient(); void set_cameraPrioritySmoothingCoefficient( float p_cameraPrioritySmoothingCoefficient );
|
2024-08-02 06:21:30 +00:00
|
|
|
|
|
|
|
// cameraPrioritySmoothingStepFPS : float
|
2024-05-19 15:48:01 +00:00
|
|
|
float get_cameraPrioritySmoothingStepFPS(); void set_cameraPrioritySmoothingStepFPS( float p_cameraPrioritySmoothingStepFPS );
|
|
|
|
|
2024-08-02 06:21:30 +00:00
|
|
|
// Constructor
|
2024-05-19 15:48:01 +00:00
|
|
|
RJVirtualCamera3DManager();
|
2024-08-02 06:21:30 +00:00
|
|
|
|
|
|
|
// Destructor
|
2024-05-19 15:48:01 +00:00
|
|
|
~RJVirtualCamera3DManager();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // ROKOJORI__VIRTUAL_CAMERA_3_D_MANAGER_H
|