Tabnine Logo
View.setScreenScale
Code IndexAdd Tabnine to your IDE (free)

How to use
setScreenScale
method
in
javax.media.j3d.View

Best Java code snippets using javax.media.j3d.View.setScreenScale (Showing top 2 results out of 315)

origin: com.googlecode.princeton-java-introduction/stdlib

private static void setScreenScale (double scale) {
  double ratio = scale / view.getScreenScale();
  view.setScreenScale(scale);
  view.setFrontClipDistance(view.getFrontClipDistance() * ratio);
  view.setBackClipDistance(view.getBackClipDistance() * ratio);
}
origin: com.github.fracpete/princeton-java-stdlib

private static void setScreenScale (double scale) {
  double ratio = scale / view.getScreenScale();
  view.setScreenScale(scale);
  view.setFrontClipDistance(view.getFrontClipDistance() * ratio);
  view.setBackClipDistance(view.getBackClipDistance() * ratio);
}
javax.media.j3dViewsetScreenScale

Popular methods of View

  • setBackClipDistance
  • setFrontClipDistance
  • addCanvas3D
  • getBackClipDistance
  • getFrontClipDistance
  • getProjectionPolicy
  • getSceneAntialiasingEnable
  • getScreenScale
  • removeAllCanvas3Ds
  • setFieldOfView
  • setLocalEyeLightingEnable
  • setProjectionPolicy
  • setLocalEyeLightingEnable,
  • setProjectionPolicy,
  • setSceneAntialiasingEnable,
  • setScreenScalePolicy,
  • setTransparencySortingPolicy,
  • setWindowEyepointPolicy,
  • <init>,
  • attachViewPlatform,
  • getFieldOfView

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Menu (java.awt)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now