Example usage for javax.media.j3d ViewPlatform ViewPlatform

List of usage examples for javax.media.j3d ViewPlatform ViewPlatform

Introduction

In this page you can find the example usage for javax.media.j3d ViewPlatform ViewPlatform.

Prototype

public ViewPlatform() 

Source Link

Document

Constructs a ViewPlatform object with default parameters.

Usage

From source file:MixedTest.java

protected ViewPlatform createViewPlatform() {
    ViewPlatform vp = new ViewPlatform();
    vp.setViewAttachPolicy(View.RELATIVE_TO_FIELD_OF_VIEW);
    vp.setActivationRadius(getViewPlatformActivationRadius());

    return vp;// w  w w.  j a  v a2s. c  o m
}