Functions | |
void | setAspectRatio (float value) |
Sets the value of AspectRatioProperty. More... | |
bool | isDisableAspectRatio () const |
Gets the value of DisableAspectRatioProperty. More... | |
void | setDisableAspectRatio (bool value) |
Sets the value of DisableAspectRatioProperty. More... | |
float | getZNear () const |
Gets the value of ZNearProperty. More... | |
void | setZNear (float value) |
Sets the value of ZNearProperty. More... | |
float | getZFar () const |
Gets the value of ZFarProperty. More... | |
void | setZFar (float value) |
Sets the value of ZFarProperty. More... | |
Camera::ProjectionType | getProjectionType () const |
Gets the value of ProjectionTypeProperty. More... | |
Camera::FieldOfViewType | getFovType () const |
Gets the value of FovTypeProperty. More... | |
void | setFovType (Camera::FieldOfViewType value) |
Sets the value of FovTypeProperty. More... | |
float | getFov () const |
Gets the value of FovProperty. More... | |
void | setFov (float value) |
Sets the value of FovProperty. More... | |
Camera::OrthogonalCoordinateSystem | getOrthogonalCoordinateSystemType () const |
Gets the value of OrthogonalCoordinateSystemTypeProperty. More... | |
float | getOrthogonalPlaneHeight () const |
Gets the value of OrthogonalPlaneHeightProperty. More... | |
void | setOrthogonalPlaneHeight (float value) |
Sets the value of OrthogonalPlaneHeightProperty. More... | |
Variables | |
static PropertyType< float > | AspectRatioProperty |
AspectRatio property. More... | |
static PropertyType< bool > | DisableAspectRatioProperty |
DisableAspectRatio property. More... | |
static PropertyType< float > | ZNearProperty |
ZNear property. More... | |
static PropertyType< float > | ZFarProperty |
ZFar property. More... | |
static PropertyType< Camera::ProjectionType > | ProjectionTypeProperty |
ProjectionType property. More... | |
static PropertyType< Camera::FieldOfViewType > | FovTypeProperty |
FovType property. More... | |
static PropertyType< float > | FovProperty |
Fov property. More... | |
static PropertyType< Camera::OrthogonalCoordinateSystem > | OrthogonalCoordinateSystemTypeProperty |
OrthogonalCoordinateSystemType property. More... | |
static PropertyType< float > | OrthogonalPlaneHeightProperty |
OrthogonalPlaneHeight property. More... | |
void setAspectRatio | ( | float | value | ) |
Sets the value of AspectRatioProperty.
bool isDisableAspectRatio | ( | ) | const |
Gets the value of DisableAspectRatioProperty.
void setDisableAspectRatio | ( | bool | value | ) |
Sets the value of DisableAspectRatioProperty.
float getZNear | ( | ) | const |
Gets the value of ZNearProperty.
void setZNear | ( | float | value | ) |
Sets the value of ZNearProperty.
float getZFar | ( | ) | const |
Gets the value of ZFarProperty.
void setZFar | ( | float | value | ) |
Sets the value of ZFarProperty.
Camera::ProjectionType getProjectionType | ( | ) | const |
Gets the value of ProjectionTypeProperty.
Camera::FieldOfViewType getFovType | ( | ) | const |
Gets the value of FovTypeProperty.
void setFovType | ( | Camera::FieldOfViewType | value | ) |
Sets the value of FovTypeProperty.
float getFov | ( | ) | const |
Gets the value of FovProperty.
void setFov | ( | float | value | ) |
Sets the value of FovProperty.
Camera::OrthogonalCoordinateSystem getOrthogonalCoordinateSystemType | ( | ) | const |
Gets the value of OrthogonalCoordinateSystemTypeProperty.
float getOrthogonalPlaneHeight | ( | ) | const |
Gets the value of OrthogonalPlaneHeightProperty.
void setOrthogonalPlaneHeight | ( | float | value | ) |
Sets the value of OrthogonalPlaneHeightProperty.
|
static |
AspectRatio property.
Defines the aspect ratio of a camera. This property has an effect only when the DisableAspectRatioProperty is false. The default value is 1.666667f.
|
static |
DisableAspectRatio property.
Whether to use the aspect ratio setting from the viewport in render pass. If the value is false, the aspect ratio is read from the AspectRatioProperty of the camera. The default value is true.
|
static |
ZNear property.
Defines the distance of the camera near clipping plane. The camera shows only the objects that are farther away than the value set in this property. The default value is 0.01f.
|
static |
|
static |
ProjectionType property.
Defines the camera type to either perspective or orthographic camera. The default value is Camera::ProjectionPerspective.
|
static |
FovType property.
Defines the direction of the field of view for the FovProperty or the #OrthogonalPlaneHeight to either x or y. The default value is Camera::YFov.
|
static |
Fov property.
Defines the camera field of view angle in degrees. The FovTypeProperty sets the direction of the angle. The default value is 45.0f.
|
static |
OrthogonalCoordinateSystemType property.
Defines the type of the orthogonal coordinate system. In the absolute mode, the camera uses pixel coordinates. In the relative mode, the camera displays an area whose width is -1..1 scaled with the value set by the OrthogonalPlaneHeightProperty. The value is effective only when using an orthogonal projection. The default value is Camera::OrthogonalCoordinateSystemRelative.
|
static |
OrthogonalPlaneHeight property.
Defines the half width or half height of the view plane of a relative orthographic camera. The FovTypeProperty specifies whether the size is width or height. The default value is 1.0f.