Camera3D
Inherits: Node3D < Node < Object
Inherited By: XRCamera3D
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods
void |
clear_current ( bool enable_next=true ) |
get_camera_projection ( ) const |
|
get_camera_rid ( ) const |
|
get_camera_transform ( ) const |
|
get_cull_mask_value ( int layer_number ) const |
|
get_frustum ( ) const |
|
is_position_behind ( Vector3 world_point ) const |
|
is_position_in_frustum ( Vector3 world_point ) const |
|
void |
make_current ( ) |
project_local_ray_normal ( Vector2 screen_point ) const |
|
project_position ( Vector2 screen_point, float z_depth ) const |
|
project_ray_normal ( Vector2 screen_point ) const |
|
project_ray_origin ( Vector2 screen_point ) const |
|
void |
set_cull_mask_value ( int layer_number, bool value ) |
void |
set_frustum ( float size, Vector2 offset, float z_near, float z_far ) |
void |
set_orthogonal ( float size, float z_near, float z_far ) |
void |
set_perspective ( float fov, float z_near, float z_far ) |
unproject_position ( Vector3 world_point ) const |
Enumerations
enum ProjectionType:
ProjectionType PROJECTION_PERSPECTIVE = 0
There is currently no description for this enum. Please help us by contributing one!
ProjectionType PROJECTION_ORTHOGONAL = 1
There is currently no description for this enum. Please help us by contributing one!
ProjectionType PROJECTION_FRUSTUM = 2
There is currently no description for this enum. Please help us by contributing one!
enum KeepAspect:
KeepAspect KEEP_WIDTH = 0
There is currently no description for this enum. Please help us by contributing one!
KeepAspect KEEP_HEIGHT = 1
There is currently no description for this enum. Please help us by contributing one!
enum DopplerTracking:
DopplerTracking DOPPLER_TRACKING_DISABLED = 0
There is currently no description for this enum. Please help us by contributing one!
DopplerTracking DOPPLER_TRACKING_IDLE_STEP = 1
There is currently no description for this enum. Please help us by contributing one!
DopplerTracking DOPPLER_TRACKING_PHYSICS_STEP = 2
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
CameraAttributes attributes
void set_attributes ( CameraAttributes value )
CameraAttributes get_attributes ( )
There is currently no description for this property. Please help us by contributing one!
Compositor compositor
void set_compositor ( Compositor value )
Compositor get_compositor ( )
There is currently no description for this property. Please help us by contributing one!
int cull_mask = 1048575
There is currently no description for this property. Please help us by contributing one!
bool current = false
There is currently no description for this property. Please help us by contributing one!
DopplerTracking doppler_tracking = 0
void set_doppler_tracking ( DopplerTracking value )
DopplerTracking get_doppler_tracking ( )
There is currently no description for this property. Please help us by contributing one!
Environment environment
void set_environment ( Environment value )
Environment get_environment ( )
There is currently no description for this property. Please help us by contributing one!
float far = 4000.0
There is currently no description for this property. Please help us by contributing one!
float fov = 75.0
There is currently no description for this property. Please help us by contributing one!
Vector2 frustum_offset = Vector2(0, 0)
There is currently no description for this property. Please help us by contributing one!
float h_offset = 0.0
There is currently no description for this property. Please help us by contributing one!
KeepAspect keep_aspect = 1
void set_keep_aspect_mode ( KeepAspect value )
KeepAspect get_keep_aspect_mode ( )
There is currently no description for this property. Please help us by contributing one!
float near = 0.05
There is currently no description for this property. Please help us by contributing one!
ProjectionType projection = 0
void set_projection ( ProjectionType value )
ProjectionType get_projection ( )
There is currently no description for this property. Please help us by contributing one!
float size = 1.0
There is currently no description for this property. Please help us by contributing one!
float v_offset = 0.0
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void clear_current ( bool enable_next=true )
There is currently no description for this method. Please help us by contributing one!
Projection get_camera_projection ( ) const
There is currently no description for this method. Please help us by contributing one!
RID get_camera_rid ( ) const
There is currently no description for this method. Please help us by contributing one!
Transform3D get_camera_transform ( ) const
There is currently no description for this method. Please help us by contributing one!
bool get_cull_mask_value ( int layer_number ) const
There is currently no description for this method. Please help us by contributing one!
Plane[] get_frustum ( ) const
There is currently no description for this method. Please help us by contributing one!
RID get_pyramid_shape_rid ( )
There is currently no description for this method. Please help us by contributing one!
bool is_position_behind ( Vector3 world_point ) const
There is currently no description for this method. Please help us by contributing one!
bool is_position_in_frustum ( Vector3 world_point ) 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!
Vector3 project_local_ray_normal ( Vector2 screen_point ) const
There is currently no description for this method. Please help us by contributing one!
Vector3 project_position ( Vector2 screen_point, float z_depth ) const
There is currently no description for this method. Please help us by contributing one!
Vector3 project_ray_normal ( Vector2 screen_point ) const
There is currently no description for this method. Please help us by contributing one!
Vector3 project_ray_origin ( Vector2 screen_point ) const
There is currently no description for this method. Please help us by contributing one!
void set_cull_mask_value ( int layer_number, bool value )
There is currently no description for this method. Please help us by contributing one!
void set_frustum ( float size, Vector2 offset, float z_near, float z_far )
There is currently no description for this method. Please help us by contributing one!
void set_orthogonal ( float size, float z_near, float z_far )
There is currently no description for this method. Please help us by contributing one!
void set_perspective ( float fov, float z_near, float z_far )
There is currently no description for this method. Please help us by contributing one!
Vector2 unproject_position ( Vector3 world_point ) const
There is currently no description for this method. Please help us by contributing one!