Camera2D
Inherits: Node2D < CanvasItem < Node < Object
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods
void |
align ( ) |
void |
|
get_drag_margin ( Side margin ) const |
|
get_screen_center_position ( ) const |
|
get_target_position ( ) const |
|
is_current ( ) const |
|
void |
make_current ( ) |
void |
reset_smoothing ( ) |
void |
set_drag_margin ( Side margin, float drag_margin ) |
void |
Enumerations
enum AnchorMode:
AnchorMode ANCHOR_MODE_FIXED_TOP_LEFT = 0
There is currently no description for this enum. Please help us by contributing one!
AnchorMode ANCHOR_MODE_DRAG_CENTER = 1
There is currently no description for this enum. Please help us by contributing one!
enum Camera2DProcessCallback:
Camera2DProcessCallback CAMERA2D_PROCESS_PHYSICS = 0
There is currently no description for this enum. Please help us by contributing one!
Camera2DProcessCallback CAMERA2D_PROCESS_IDLE = 1
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
AnchorMode anchor_mode = 1
void set_anchor_mode ( AnchorMode value )
AnchorMode get_anchor_mode ( )
There is currently no description for this property. Please help us by contributing one!
Node custom_viewport
There is currently no description for this property. Please help us by contributing one!
float drag_bottom_margin = 0.2
There is currently no description for this property. Please help us by contributing one!
bool drag_horizontal_enabled = false
There is currently no description for this property. Please help us by contributing one!
float drag_horizontal_offset = 0.0
There is currently no description for this property. Please help us by contributing one!
float drag_left_margin = 0.2
There is currently no description for this property. Please help us by contributing one!
float drag_right_margin = 0.2
There is currently no description for this property. Please help us by contributing one!
float drag_top_margin = 0.2
There is currently no description for this property. Please help us by contributing one!
bool drag_vertical_enabled = false
There is currently no description for this property. Please help us by contributing one!
float drag_vertical_offset = 0.0
There is currently no description for this property. Please help us by contributing one!
bool editor_draw_drag_margin = false
There is currently no description for this property. Please help us by contributing one!
bool editor_draw_limits = false
There is currently no description for this property. Please help us by contributing one!
bool editor_draw_screen = true
There is currently no description for this property. Please help us by contributing one!
bool enabled = true
There is currently no description for this property. Please help us by contributing one!
bool ignore_rotation = true
There is currently no description for this property. Please help us by contributing one!
int limit_bottom = 10000000
There is currently no description for this property. Please help us by contributing one!
int limit_left = -10000000
There is currently no description for this property. Please help us by contributing one!
int limit_right = 10000000
There is currently no description for this property. Please help us by contributing one!
bool limit_smoothed = false
There is currently no description for this property. Please help us by contributing one!
int limit_top = -10000000
There is currently no description for this property. Please help us by contributing one!
Vector2 offset = Vector2(0, 0)
There is currently no description for this property. Please help us by contributing one!
bool position_smoothing_enabled = false
There is currently no description for this property. Please help us by contributing one!
float position_smoothing_speed = 5.0
There is currently no description for this property. Please help us by contributing one!
Camera2DProcessCallback process_callback = 1
void set_process_callback ( Camera2DProcessCallback value )
Camera2DProcessCallback get_process_callback ( )
There is currently no description for this property. Please help us by contributing one!
bool rotation_smoothing_enabled = false
There is currently no description for this property. Please help us by contributing one!
float rotation_smoothing_speed = 5.0
There is currently no description for this property. Please help us by contributing one!
Vector2 zoom = Vector2(1, 1)
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void align ( )
There is currently no description for this method. Please help us by contributing one!
void force_update_scroll ( )
There is currently no description for this method. Please help us by contributing one!
float get_drag_margin ( Side margin ) const
There is currently no description for this method. Please help us by contributing one!
int get_limit ( Side margin ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_screen_center_position ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_target_position ( ) const
There is currently no description for this method. Please help us by contributing one!
bool is_current ( ) const
There is currently no description for this method. Please help us by contributing one!
void make_current ( )
There is currently no description for this method. Please help us by contributing one!
void reset_smoothing ( )
There is currently no description for this method. Please help us by contributing one!
void set_drag_margin ( Side margin, float drag_margin )
There is currently no description for this method. Please help us by contributing one!
void set_limit ( Side margin, int limit )
There is currently no description for this method. Please help us by contributing one!