Camera3D

Inherits: Node3D < Node < Object

Inherited By: XRCamera3D

There is currently no description for this class. Please help us by contributing one!

Properties

CameraAttributes

attributes

Compositor

compositor

int

cull_mask

1048575

bool

current

false

DopplerTracking

doppler_tracking

0

Environment

environment

float

far

4000.0

float

fov

75.0

Vector2

frustum_offset

Vector2(0, 0)

float

h_offset

0.0

KeepAspect

keep_aspect

1

float

near

0.05

ProjectionType

projection

0

float

size

1.0

float

v_offset

0.0

Methods

void

clear_current ( bool enable_next=true )

Projection

get_camera_projection ( ) const

RID

get_camera_rid ( ) const

Transform3D

get_camera_transform ( ) const

bool

get_cull_mask_value ( int layer_number ) const

Plane[]

get_frustum ( ) const

RID

get_pyramid_shape_rid ( )

bool

is_position_behind ( Vector3 world_point ) const

bool

is_position_in_frustum ( Vector3 world_point ) const

void

make_current ( )

Vector3

project_local_ray_normal ( Vector2 screen_point ) const

Vector3

project_position ( Vector2 screen_point, float z_depth ) const

Vector3

project_ray_normal ( Vector2 screen_point ) const

Vector3

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 )

Vector2

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

There is currently no description for this property. Please help us by contributing one!


Compositor compositor

There is currently no description for this property. Please help us by contributing one!


int cull_mask = 1048575

  • void set_cull_mask ( int value )

  • int get_cull_mask ( )

There is currently no description for this property. Please help us by contributing one!


bool current = false

  • void set_current ( bool value )

  • bool is_current ( )

There is currently no description for this property. Please help us by contributing one!


DopplerTracking doppler_tracking = 0

There is currently no description for this property. Please help us by contributing one!


Environment 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)

  • void set_frustum_offset ( Vector2 value )

  • Vector2 get_frustum_offset ( )

There is currently no description for this property. Please help us by contributing one!


float h_offset = 0.0

  • void set_h_offset ( float value )

  • float get_h_offset ( )

There is currently no description for this property. Please help us by contributing one!


KeepAspect keep_aspect = 1

There is currently no description for this property. Please help us by contributing one!


float near = 0.05

  • void set_near ( float value )

  • float get_near ( )

There is currently no description for this property. Please help us by contributing one!


ProjectionType projection = 0

There is currently no description for this property. Please help us by contributing one!


float size = 1.0

  • void set_size ( float value )

  • float get_size ( )

There is currently no description for this property. Please help us by contributing one!


float v_offset = 0.0

  • void set_v_offset ( float value )

  • float get_v_offset ( )

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!