Camera.Projection/projection - multiple declarations
Function Camera.projection
The camera's projection mode. In constant PROJECTION_PERSPECTIVE
mode, objects' Z distance from the camera's local space scales their perceived size.
Camera . Projection projection() nothrow @property @nogc;
void projection
(
long v
) nothrow @property @nogc;
Enum Camera.Projection
enum Projection
: int { ... }
Enum members
Name | Description |
---|---|
projectionFrustum
|
Frustum projection. This mode allows adjusting frustumOffset to create "tilted frustum" effects.
|
projectionOrthogonal
|
Orthogonal projection, also known as orthographic projection. Objects remain the same size on the screen no matter how far away they are. |
projectionPerspective
|
Perspective projection. Objects on the screen becomes smaller when they are far away. |