Package org.robwork.sdurw_graphics
Class SceneCamera.AspectRatioControl
- java.lang.Object
-
- org.robwork.sdurw_graphics.SceneCamera.AspectRatioControl
-
- Enclosing class:
- SceneCamera
public static final class SceneCamera.AspectRatioControl extends java.lang.Object
Mode for aspect ratio control.
-
-
Field Summary
Fields Modifier and Type Field Description static SceneCamera.AspectRatioControl
Auto
The aspect is automatically adjusted to fit entire viewportstatic SceneCamera.AspectRatioControl
Fixed
the aspect ratio is fixed.static SceneCamera.AspectRatioControl
Scale
the aspect ratio is fixed and the scaling is performed such that the largest picure is obtainedstatic SceneCamera.AspectRatioControl
ScaleX
the apect ratio is fixed and the scaling is performed along x-axisstatic SceneCamera.AspectRatioControl
ScaleY
the apect ratio is fixed and the scaling is performed along y-axis
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SceneCamera.AspectRatioControl
swigToEnum(int swigValue)
int
swigValue()
java.lang.String
toString()
-
-
-
Field Detail
-
Auto
public static final SceneCamera.AspectRatioControl Auto
The aspect is automatically adjusted to fit entire viewport
-
Scale
public static final SceneCamera.AspectRatioControl Scale
the aspect ratio is fixed and the scaling is performed such that the largest picure is obtained
-
ScaleX
public static final SceneCamera.AspectRatioControl ScaleX
the apect ratio is fixed and the scaling is performed along x-axis
-
ScaleY
public static final SceneCamera.AspectRatioControl ScaleY
the apect ratio is fixed and the scaling is performed along y-axis
-
Fixed
public static final SceneCamera.AspectRatioControl Fixed
the aspect ratio is fixed.
-
-
Method Detail
-
swigValue
public final int swigValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
swigToEnum
public static SceneCamera.AspectRatioControl swigToEnum(int swigValue)
-
-