Package com.j3d
Class StaticConfig
java.lang.Object
com.j3d.StaticConfig
While apart from settings, core settings are the modernied versio.
Settings who the user should not be able to access and thus is not available on the UI.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic final intA constant number to offset all components which get pushed down by the JMenuBarstatic booleanGeneric lock flag for when the user has CAPS LOCK enabled.static booleanstatic DimThe default screen size for the SceneManager.static booleanFlag to determine if depth information is displayed.static booleanFlag to determine if normals are displayed.static booleanFlag to determine if triangle distances from the camera are displayed.static booleanstatic booleanFlag to determine if back-face culling is used during rendering.static ViewTypeHow the objects should be drawn. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ViewTypestatic booleanstatic booleanstatic booleanstatic booleanstatic voidsetShowDepth(boolean showDepth) static voidsetShowNormals(boolean showNormals) static voidsetShowTriDistances(boolean showTriDistances) static voidsetTriangleSortMethod(PureSortMethod method) static voidsetUseBackFaceCulling(boolean useBackFaceCulling) static voidsetViewType(ViewType viewType)
-
Field Details
-
jMenuBarOffsetY
public static final int jMenuBarOffsetYA constant number to offset all components which get pushed down by the JMenuBar- See Also:
-
hasSaved
public static boolean hasSaved -
lock
public static boolean lockGeneric lock flag for when the user has CAPS LOCK enabled. -
screenSize
The default screen size for the SceneManager. -
useBackFaceCulling
public static boolean useBackFaceCullingFlag to determine if back-face culling is used during rendering. -
showTriDistances
public static boolean showTriDistancesFlag to determine if triangle distances from the camera are displayed. -
showDepth
public static boolean showDepthFlag to determine if depth information is displayed. -
showNormals
public static boolean showNormalsFlag to determine if normals are displayed. -
viewType
How the objects should be drawn. -
movementControls
public static boolean movementControls -
test
public static boolean test
-
-
Constructor Details
-
StaticConfig
public StaticConfig()
-
-
Method Details
-
setTriangleSortMethod
-
isUseBackFaceCulling
public static boolean isUseBackFaceCulling() -
setUseBackFaceCulling
public static void setUseBackFaceCulling(boolean useBackFaceCulling) -
isShowTriDistances
public static boolean isShowTriDistances() -
setShowTriDistances
public static void setShowTriDistances(boolean showTriDistances) -
isShowDepth
public static boolean isShowDepth() -
setShowDepth
public static void setShowDepth(boolean showDepth) -
isShowNormals
public static boolean isShowNormals() -
setShowNormals
public static void setShowNormals(boolean showNormals) -
getViewType
-
setViewType
-