public class Ground3D extends Object3DBranch
DEFAULT_AMBIENT_COLOR, DEFAULT_COLOR, DEFAULT_MATERIAL, LINE_WIDTH_SCALE_FACTOR, OUTLINE_COLORING_ATTRIBUTES, OUTLINE_LINE_ATTRIBUTES, OUTLINE_POLYGON_ATTRIBUTES, SELECTION_COLORING_ATTRIBUTES, SELECTION_LINE_ATTRIBUTES, SELECTION_POLYGON_ATTRIBUTES, SELECTION_TRANSPARENCY_ATTRIBUTES
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
Constructor and Description |
---|
Ground3D(Home home,
float originX,
float originY,
float width,
float depth,
boolean waitTextureLoadingEnd)
Creates a 3D ground for the given
home . |
Ground3D(Home home,
UserPreferences preferences,
java.lang.Object context,
float originX,
float originY,
float width,
float depth,
boolean waitTextureLoadingEnd)
Creates a 3D ground for the given
home . |
Modifier and Type | Method and Description |
---|---|
void |
update()
Updates ground coloring and texture attributes from home ground color and texture.
|
getAreaPoints, getAreaPoints, getContext, getContextTexture, getHome, getHomeTextureClone, getMaterial, getSelectionAppearance, getShape, getTextureAttributes, getTextureAttributes, getTextureAttributesFittingArea, getUserPreferences
cloneNode, compile, detach, pickAll, pickAll, pickAllSorted, pickAllSorted, pickAny, pickAny, pickClosest, pickClosest
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
public Ground3D(Home home, float originX, float originY, float width, float depth, boolean waitTextureLoadingEnd)
home
.public Ground3D(Home home, UserPreferences preferences, java.lang.Object context, float originX, float originY, float width, float depth, boolean waitTextureLoadingEnd)
home
.public void update()
update
in class Object3DBranch
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License