Projection
There is currently no description for this class. Please help us by contributing one!
Note
There are notable differences when using this API with C#. See C# Differences for more information.
Properties
|
||
|
||
|
||
|
Constructors
Projection ( ) |
|
Projection ( Projection from ) |
|
Projection ( Transform3D from ) |
|
Projection ( Vector4 x_axis, Vector4 y_axis, Vector4 z_axis, Vector4 w_axis ) |
Methods
create_depth_correction ( bool flip_y ) static |
|
create_fit_aabb ( AABB aabb ) static |
|
create_for_hmd ( int eye, float aspect, float intraocular_dist, float display_width, float display_to_lens, float oversample, float z_near, float z_far ) static |
|
create_frustum ( float left, float right, float bottom, float top, float z_near, float z_far ) static |
|
create_frustum_aspect ( float size, float aspect, Vector2 offset, float z_near, float z_far, bool flip_fov=false ) static |
|
create_light_atlas_rect ( Rect2 rect ) static |
|
create_orthogonal ( float left, float right, float bottom, float top, float z_near, float z_far ) static |
|
create_orthogonal_aspect ( float size, float aspect, float z_near, float z_far, bool flip_fov=false ) static |
|
create_perspective ( float fovy, float aspect, float z_near, float z_far, bool flip_fov=false ) static |
|
create_perspective_hmd ( float fovy, float aspect, float z_near, float z_far, bool flip_fov, int eye, float intraocular_dist, float convergence_dist ) static |
|
determinant ( ) const |
|
flipped_y ( ) const |
|
get_aspect ( ) const |
|
get_far_plane_half_extents ( ) const |
|
get_fov ( ) const |
|
get_lod_multiplier ( ) const |
|
get_pixels_per_meter ( int for_pixel_width ) const |
|
get_projection_plane ( int plane ) const |
|
get_viewport_half_extents ( ) const |
|
get_z_far ( ) const |
|
get_z_near ( ) const |
|
inverse ( ) const |
|
is_orthogonal ( ) const |
|
jitter_offseted ( Vector2 offset ) const |
|
perspective_znear_adjusted ( float new_znear ) const |
Operators
operator != ( Projection right ) |
|
operator * ( Projection right ) |
|
operator * ( Vector4 right ) |
|
operator == ( Projection right ) |
|
operator [] ( int index ) |
Constants
PLANE_NEAR = 0
There is currently no description for this constant. Please help us by contributing one!
PLANE_FAR = 1
There is currently no description for this constant. Please help us by contributing one!
PLANE_LEFT = 2
There is currently no description for this constant. Please help us by contributing one!
PLANE_TOP = 3
There is currently no description for this constant. Please help us by contributing one!
PLANE_RIGHT = 4
There is currently no description for this constant. Please help us by contributing one!
PLANE_BOTTOM = 5
There is currently no description for this constant. Please help us by contributing one!
IDENTITY = Projection(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
There is currently no description for this constant. Please help us by contributing one!
ZERO = Projection(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
There is currently no description for this constant. Please help us by contributing one!
Property Descriptions
Vector4 w = Vector4(0, 0, 0, 1)
There is currently no description for this property. Please help us by contributing one!
Vector4 x = Vector4(1, 0, 0, 0)
There is currently no description for this property. Please help us by contributing one!
Vector4 y = Vector4(0, 1, 0, 0)
There is currently no description for this property. Please help us by contributing one!
Vector4 z = Vector4(0, 0, 1, 0)
There is currently no description for this property. Please help us by contributing one!
Constructor Descriptions
Projection Projection ( )
There is currently no description for this constructor. Please help us by contributing one!
Projection Projection ( Projection from )
There is currently no description for this constructor. Please help us by contributing one!
Projection Projection ( Transform3D from )
There is currently no description for this constructor. Please help us by contributing one!
Projection Projection ( Vector4 x_axis, Vector4 y_axis, Vector4 z_axis, Vector4 w_axis )
There is currently no description for this constructor. Please help us by contributing one!
Method Descriptions
Projection create_depth_correction ( bool flip_y ) static
There is currently no description for this method. Please help us by contributing one!
Projection create_fit_aabb ( AABB aabb ) static
There is currently no description for this method. Please help us by contributing one!
Projection create_for_hmd ( int eye, float aspect, float intraocular_dist, float display_width, float display_to_lens, float oversample, float z_near, float z_far ) static
There is currently no description for this method. Please help us by contributing one!
Projection create_frustum ( float left, float right, float bottom, float top, float z_near, float z_far ) static
There is currently no description for this method. Please help us by contributing one!
Projection create_frustum_aspect ( float size, float aspect, Vector2 offset, float z_near, float z_far, bool flip_fov=false ) static
There is currently no description for this method. Please help us by contributing one!
Projection create_light_atlas_rect ( Rect2 rect ) static
There is currently no description for this method. Please help us by contributing one!
Projection create_orthogonal ( float left, float right, float bottom, float top, float z_near, float z_far ) static
There is currently no description for this method. Please help us by contributing one!
Projection create_orthogonal_aspect ( float size, float aspect, float z_near, float z_far, bool flip_fov=false ) static
There is currently no description for this method. Please help us by contributing one!
Projection create_perspective ( float fovy, float aspect, float z_near, float z_far, bool flip_fov=false ) static
There is currently no description for this method. Please help us by contributing one!
Projection create_perspective_hmd ( float fovy, float aspect, float z_near, float z_far, bool flip_fov, int eye, float intraocular_dist, float convergence_dist ) static
There is currently no description for this method. Please help us by contributing one!
float determinant ( ) const
There is currently no description for this method. Please help us by contributing one!
Projection flipped_y ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_aspect ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_far_plane_half_extents ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_fov ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_fovy ( float fovx, float aspect ) static
There is currently no description for this method. Please help us by contributing one!
float get_lod_multiplier ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_pixels_per_meter ( int for_pixel_width ) const
There is currently no description for this method. Please help us by contributing one!
Plane get_projection_plane ( int plane ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_viewport_half_extents ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_z_far ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_z_near ( ) const
There is currently no description for this method. Please help us by contributing one!
Projection inverse ( ) const
There is currently no description for this method. Please help us by contributing one!
bool is_orthogonal ( ) const
There is currently no description for this method. Please help us by contributing one!
Projection jitter_offseted ( Vector2 offset ) const
There is currently no description for this method. Please help us by contributing one!
Projection perspective_znear_adjusted ( float new_znear ) const
There is currently no description for this method. Please help us by contributing one!
Operator Descriptions
bool operator != ( Projection right )
There is currently no description for this operator. Please help us by contributing one!
Projection operator * ( Projection right )
There is currently no description for this operator. Please help us by contributing one!
Vector4 operator * ( Vector4 right )
There is currently no description for this operator. Please help us by contributing one!
bool operator == ( Projection right )
There is currently no description for this operator. Please help us by contributing one!
Vector4 operator [] ( int index )
There is currently no description for this operator. Please help us by contributing one!