本文整理汇总了Java中javafx.scene.SceneAntialiasing.DISABLED属性的典型用法代码示例。如果您正苦于以下问题:Java SceneAntialiasing.DISABLED属性的具体用法?Java SceneAntialiasing.DISABLED怎么用?Java SceneAntialiasing.DISABLED使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类javafx.scene.SceneAntialiasing
的用法示例。
在下文中一共展示了SceneAntialiasing.DISABLED属性的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createSubScene
protected SubScene createSubScene() {
Group group = new Group();
group.getChildren().add(createPlayerModel());
group.getTransforms().add(zRotate);
camera.getTransforms().addAll(yRotate, translate, scale);
subScene = new SubScene(group, preW, preH, true,
msaa ? SceneAntialiasing.BALANCED : SceneAntialiasing.DISABLED);
subScene.setFill(Color.ALICEBLUE);
subScene.setCamera(camera);
return subScene;
}
示例2: getTopLeftScene
@Override
protected SubScene getTopLeftScene() {
rootTLMV = buildGroupMover();
SubScene ss = new SubScene(rootTLMV.getGroup(), SS_WIDTH, SS_HEIGHT, true, SceneAntialiasing.DISABLED);
ss.setCamera(new PerspectiveCamera());
return ss;
}
示例3: getTopRightScene
@Override
protected SubScene getTopRightScene() {
rootTRMV = buildGroupMover();
rootTRMV.setRotateY(60);
SubScene ss = new SubScene(rootTRMV.getGroup(), SS_WIDTH, SS_HEIGHT, true, SceneAntialiasing.DISABLED);
ss.setCamera(new PerspectiveCamera());
return ss;
}
示例4: getDownLeftScene
@Override
protected SubScene getDownLeftScene() {
rootDLMV = buildGroupMover();
rootDLMV.setRotateY(-60);
SubScene ss = new SubScene(rootDLMV.getGroup(), SS_WIDTH, SS_HEIGHT, true, SceneAntialiasing.DISABLED);
ss.setCamera(new PerspectiveCamera());
return ss;
}
示例5: getSubScene
private SubScene getSubScene(int num) {
Group root = cases[num].buildAll();
cases[num].getGroupMover().translateXProperty().set(WIDTH / 4);
cases[num].getGroupMover().translateYProperty().set(HEIGHT / 4);
SubScene ss = new SubScene(root, HEIGHT / 2, WIDTH / 2, true, SceneAntialiasing.DISABLED);
cases[num].addCamera(ss);
ss.setFill(Color.GREEN);
if (!isTest()) {
cases[num].initRotation(ss);
}
return ss;
}
示例6: getTopLeftScene
@Override
protected SubScene getTopLeftScene() {
SubScene ss = new SubScene(buildGroup(), SS_WIDTH, SS_HEIGHT, true, SceneAntialiasing.DISABLED);
ss.setCamera(new PerspectiveCamera());
scenes[0] = ss;
return ss;
}
示例7: getTopRightScene
@Override
protected SubScene getTopRightScene() {
SubScene ss = new SubScene(buildGroup(), SS_WIDTH, SS_HEIGHT, true, SceneAntialiasing.DISABLED);
ss.setCamera(new PerspectiveCamera());
scenes[1] = ss;
return ss;
}
示例8: getDownLeftScene
@Override
protected SubScene getDownLeftScene() {
SubScene ss = new SubScene(buildGroup(), SS_WIDTH, SS_HEIGHT, true, SceneAntialiasing.DISABLED);
ss.setCamera(new PerspectiveCamera());
scenes[2] = ss;
return ss;
}
示例9: createScene3D
/**Creates a 3D subscene with a perspectiveCamera, where the specified group node acts as the parent node of
* the subscene. Dont forget to make the subscene scale with the size of the whole scene, by binding its size
* (mySubscene.heightProperty().bind(myVBox.heightProperty()))
**/
private SubScene createScene3D(Group group,PerspectiveCamera camera) {
SubScene scene3d = new SubScene(group, sceneWidth, sceneHeight, true, SceneAntialiasing.DISABLED);
scene3d.setFill(Color.DARKGRAY.darker().darker().darker().darker());
scene3d.setCamera(camera);
return scene3d;
}