- java.lang.Object
-
- javafx.scene.Node
-
- javafx.scene.shape.Shape3D
-
- すべての実装されたインタフェース:
Styleable
,EventTarget
public abstract class Shape3D extends Node
Shape3D
ベース・クラスは、なんらかの形式の3D幾何学的形状を表すオブジェクトの共通プロパティの定義を提供します。 次のようなプロパティがあります。- 図形の塗りつぶし可能な内部または図形の輪郭に適用される
Material
(setMaterial(javafx.scene.paint.Material)
を参照)。 - ジオメトリをレンダリングする情報を定義する描画モデルのプロパティ(
setDrawMode(javafx.scene.shape.DrawMode)
を参照)。 - カリングを行うフェイスを定義するフェイス・カリングのプロパティ(
setCullFace(javafx.scene.shape.CullFace)
を参照)。
ConditionalFeature.SCENE3D
を参照してください。アプリケーションは、Shape3Dクラスを直接拡張するべきではありません。 そうすると、UnsupportedOperationExceptionがスローされることがあります。
- 導入されたバージョン:
- JavaFX 8.0
-
-
プロパティのサマリー
プロパティ Type プロパティ 説明 ObjectProperty<CullFace>
cullFace
このShape3D
のcullFaceを定義します。ObjectProperty<DrawMode>
drawMode
このShape3D
をレンダリングするために使用する描画モードを定義します。ObjectProperty<Material>
material
このShape3D
のマテリアルを定義します。-
クラスjavafx.scene.Nodeから継承されたプロパティ
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible
-
-
フィールドのサマリー
-
クラスjavafx.scene.Nodeから継承されたフィールド
BASELINE_OFFSET_SAME_AS_HEIGHT
-
-
コンストラクタのサマリー
コンストラクタ 修飾子 コンストラクタ 説明 protected
Shape3D()
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 ObjectProperty<CullFace>
cullFaceProperty()
このShape3D
のcullFaceを定義します。ObjectProperty<DrawMode>
drawModeProperty()
このShape3D
をレンダリングするために使用する描画モードを定義します。CullFace
getCullFace()
プロパティcullFaceの値を取得します。DrawMode
getDrawMode()
プロパティdrawModeの値を取得します。Material
getMaterial()
プロパティmaterialの値を取得します。ObjectProperty<Material>
materialProperty()
このShape3D
のマテリアルを定義します。void
setCullFace(CullFace value)
プロパティcullFaceの値を設定します。void
setDrawMode(DrawMode value)
プロパティdrawModeの値を設定します。void
setMaterial(Material value)
プロパティmaterialの値を設定します。-
クラスjavafx.scene.Nodeから継承されたメソッド
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBaselineOffset, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClassCssMetaData, getClip, getContentBias, getCssMetaData, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInitialFocusTraversable, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isResizable, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookup, lookupAll, managedProperty, maxHeight, maxWidth, minHeight, minWidth, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, prefHeight, prefWidth, pressedProperty, pseudoClassStateChanged, queryAccessibleAttribute, relocate, removeEventFilter, removeEventHandler, requestFocus, resize, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
-
クラス java.lang.Objectから継承されたメソッド
clone、equals、finalize、getClass、hashCode、notify、notifyAll、wait、wait、wait
-
インタフェース javafx.css.Styleableから継承されたメソッド
getStyleableNode
-
-
-
-
プロパティの詳細
-
material
public final ObjectProperty<Material> materialProperty
このShape3D
のマテリアルを定義します。 デフォルトのマテリアルはnullです。Material
がnullの場合、拡散色がColor.LIGHTGRAYのPhongMaterialがレンダリングに使用されます。- デフォルト値:
- null
- 関連項目:
getMaterial()
、setMaterial(Material)
-
drawMode
public final ObjectProperty<DrawMode> drawModeProperty
このShape3D
をレンダリングするために使用する描画モードを定義します。DrawMode.LINE
は組み込みプラットフォームでは使用できません。 組み込みプラットフォームでdrawMode
がDrawMode.LINE
に設定されている場合は、DrawMode.FILL
のデフォルト値が代わりに使用されます。- デフォルト値:
DrawMode.FILL
- 関連項目:
getDrawMode()
、setDrawMode(DrawMode)
-
cullFace
public final ObjectProperty<CullFace> cullFaceProperty
このShape3D
のcullFaceを定義します。- デフォルト値:
- CullFace.BACK
- 関連項目:
getCullFace()
、setCullFace(CullFace)
-
-
メソッドの詳細
-
setMaterial
public final void setMaterial(Material value)
プロパティmaterialの値を設定します。- プロパティの説明:
- この
Shape3D
のマテリアルを定義します。 デフォルトのマテリアルはnullです。Material
がnullの場合、拡散色がColor.LIGHTGRAYのPhongMaterialがレンダリングに使用されます。 - デフォルト値:
- null
-
getMaterial
public final Material getMaterial()
プロパティmaterialの値を取得します。- プロパティの説明:
- この
Shape3D
のマテリアルを定義します。 デフォルトのマテリアルはnullです。Material
がnullの場合、拡散色がColor.LIGHTGRAYのPhongMaterialがレンダリングに使用されます。 - デフォルト値:
- null
-
materialProperty
public final ObjectProperty<Material> materialProperty()
このShape3D
のマテリアルを定義します。 デフォルトのマテリアルはnullです。Material
がnullの場合、拡散色がColor.LIGHTGRAYのPhongMaterialがレンダリングに使用されます。- デフォルト値:
- null
- 関連項目:
getMaterial()
、setMaterial(Material)
-
setDrawMode
public final void setDrawMode(DrawMode value)
プロパティdrawModeの値を設定します。- プロパティの説明:
- この
Shape3D
をレンダリングするために使用する描画モードを定義します。DrawMode.LINE
は組み込みプラットフォームでは使用できません。 組み込みプラットフォームでdrawMode
がDrawMode.LINE
に設定されている場合は、DrawMode.FILL
のデフォルト値が代わりに使用されます。 - デフォルト値:
DrawMode.FILL
-
getDrawMode
public final DrawMode getDrawMode()
プロパティdrawModeの値を取得します。- プロパティの説明:
- この
Shape3D
をレンダリングするために使用する描画モードを定義します。DrawMode.LINE
は組み込みプラットフォームでは使用できません。 組み込みプラットフォームでdrawMode
がDrawMode.LINE
に設定されている場合は、DrawMode.FILL
のデフォルト値が代わりに使用されます。 - デフォルト値:
DrawMode.FILL
-
drawModeProperty
public final ObjectProperty<DrawMode> drawModeProperty()
このShape3D
をレンダリングするために使用する描画モードを定義します。DrawMode.LINE
は組み込みプラットフォームでは使用できません。 組み込みプラットフォームでdrawMode
がDrawMode.LINE
に設定されている場合は、DrawMode.FILL
のデフォルト値が代わりに使用されます。- デフォルト値:
DrawMode.FILL
- 関連項目:
getDrawMode()
、setDrawMode(DrawMode)
-
setCullFace
public final void setCullFace(CullFace value)
プロパティcullFaceの値を設定します。- プロパティの説明:
- この
Shape3D
のcullFaceを定義します。 - デフォルト値:
- CullFace.BACK
-
getCullFace
public final CullFace getCullFace()
プロパティcullFaceの値を取得します。- プロパティの説明:
- この
Shape3D
のcullFaceを定義します。 - デフォルト値:
- CullFace.BACK
-
cullFaceProperty
public final ObjectProperty<CullFace> cullFaceProperty()
このShape3D
のcullFaceを定義します。- デフォルト値:
- CullFace.BACK
- 関連項目:
getCullFace()
、setCullFace(CullFace)
-
-