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.ObjectMode for aspect ratio control.
-
-
Field Summary
Fields Modifier and Type Field Description static SceneCamera.AspectRatioControlAutoThe aspect is automatically adjusted to fit entire viewportstatic SceneCamera.AspectRatioControlFixedthe aspect ratio is fixed.static SceneCamera.AspectRatioControlScalethe aspect ratio is fixed and the scaling is performed such that the largest picure is obtainedstatic SceneCamera.AspectRatioControlScaleXthe apect ratio is fixed and the scaling is performed along x-axisstatic SceneCamera.AspectRatioControlScaleYthe 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.AspectRatioControlswigToEnum(int swigValue)intswigValue()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
swigToEnum
public static SceneCamera.AspectRatioControl swigToEnum(int swigValue)
-
-