com.jme3.scene.Spatial.CullHint
INestable.IChildrenChangedListener
KEY_JMEITEMDATA
Constructor and Description |
---|
JMEStage(java.lang.String name,
java.util.UUID uuid)
Instantiates a new JME stage.
|
Modifier and Type | Method and Description |
---|---|
AnimationSystem |
getAnimationSystem()
Gets the animation system.
|
BehaviourMaker |
getBehaviourMaker()
Gets the behaviour maker.
|
IContentFactory |
getContentFactory()
Gets the content factory.
|
int |
getDisplayHeight()
Gets the display height.
|
int |
getDisplayWidth()
Gets the display width.
|
DragAndDropSystem |
getDragAndDropSystem()
Gets the drag and drop system.
|
IStage |
getLocalStage()
Gets the local stage.
|
com.jme3.scene.Spatial |
getManipulableSpatial()
Gets the manipulable spatial.
|
IPickSystem |
getPickSystem()
Gets the pick system.
|
float |
getScreenBottom()
Gets the screen bottom.
|
float |
getScreenLeft()
Gets the screen left.
|
float |
getScreenRight()
Gets the screen right.
|
float |
getScreenTop()
Gets the screen top.
|
void |
initializeGeometry(com.jme3.asset.AssetManager assetManager)
Initialize geometry.
|
boolean |
isLocal()
Checks if is local.
|
com.jme3.math.Vector2f |
screenToWorld(com.jme3.math.Vector2f pos)
Screen to world.
|
void |
setAnimationSystem(AnimationSystem animationSystem)
Sets the animation system.
|
void |
setBehaviourMaker(BehaviourMaker bm)
Sets the behaviour maker.
|
void |
setContentFactory(IContentFactory contentFactory)
Sets the content factory.
|
void |
setDisplayDimensions(int width,
int height)
Sets the display dimensions.
|
void |
setDragAndDropSystem(DragAndDropSystem dragAndDropSystem)
Sets the drag and drop system.
|
void |
setLocalStage(IStage stage)
Sets the local stage.
|
void |
setPickSystem(IPickSystem pickSystem)
Sets the pick system.
|
void |
tableToScreen(com.jme3.math.Vector2f in,
com.jme3.math.Vector2f out)
Table to screen.
|
com.jme3.math.Vector2f |
tableToWorld(com.jme3.math.Vector2f in)
Table to world.
|
void |
tableToWorld(com.jme3.math.Vector2f in,
com.jme3.math.Vector2f out)
Table to world.
|
addItem, addItemListener, behaviourAdded, centerItem, convertWorldVelocityToLocalVelocity, deRegisterChildrenChangedListener, getBehaviours, getBehaviours, getChildItems, getChildrenCount, getItemChildren, getItemListeners, getItemName, getMultiTouchDispatcher, getName, getParentItem, getRelativeLocation, getRelativeLocationOfWorldLocation, getRelativeRotation, getRelativeScale, getUUID, getWorldLocation, getWorldLocation, getWorldRotationDegrees, getZOrder, getZOrderManager, hasChildren, isVisible, registerChildrenChangedListener, removeAllItems, removeItem, removeItemListener, setInteractionEnabled, setItemListeners, setItemName, setParentItem, setRelativeLocation, setRelativeRotation, setRelativeScale, setVisible, setWorldLocation, setZOrder, toString
attachChild, attachChildAt, childChange, clone, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, read, setLodLevel, setMaterial, setModelBound, swapChildren, updateGeometricState, updateLogicalState, updateModelBound, write
addControl, addLight, breadthFirstTraversal, center, checkCulling, clone, getControl, getControl, getCullHint, getLastFrustumIntersection, getLocalCullHint, getLocalLightList, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, localToWorld, lookAt, matches, move, move, removeControl, removeControl, removeFromParent, removeLight, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setCullHint, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setShadowMode, setUserData, worldToLocal
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addItemListener, behaviourAdded, centerItem, convertWorldVelocityToLocalVelocity, getBehaviours, getBehaviours, getItemListeners, getMultiTouchDispatcher, getName, getParentItem, getRelativeLocation, getRelativeLocationOfWorldLocation, getRelativeRotation, getRelativeScale, getUUID, getWorldLocation, getWorldLocation, getWorldRotationDegrees, getZOrder, getZOrderManager, isVisible, removeItemListener, setInteractionEnabled, setItemListeners, setParentItem, setRelativeLocation, setRelativeRotation, setRelativeScale, setVisible, setWorldLocation, setZOrder
addItem, deRegisterChildrenChangedListener, getChildItems, getChildrenCount, hasChildren, registerChildrenChangedListener, removeAllItems, removeItem
public JMEStage(java.lang.String name, java.util.UUID uuid)
name
- the nameuuid
- the uuidpublic AnimationSystem getAnimationSystem()
IStage
getAnimationSystem
in interface IStage
public BehaviourMaker getBehaviourMaker()
IStage
getBehaviourMaker
in interface IStage
public IContentFactory getContentFactory()
IStage
getContentFactory
in interface IStage
public int getDisplayHeight()
IStage
getDisplayHeight
in interface IStage
public int getDisplayWidth()
IStage
getDisplayWidth
in interface IStage
public DragAndDropSystem getDragAndDropSystem()
IStage
getDragAndDropSystem
in interface IStage
public IStage getLocalStage()
public com.jme3.scene.Spatial getManipulableSpatial()
IItem
getManipulableSpatial
in interface IItem
public IPickSystem getPickSystem()
IStage
getPickSystem
in interface IStage
public float getScreenBottom()
IStage
getScreenBottom
in interface IStage
public float getScreenLeft()
IStage
getScreenLeft
in interface IStage
public float getScreenRight()
IStage
getScreenRight
in interface IStage
public float getScreenTop()
IStage
getScreenTop
in interface IStage
public void initializeGeometry(com.jme3.asset.AssetManager assetManager)
IInitable
initializeGeometry
in interface IInitable
assetManager
- the asset managerpublic boolean isLocal()
IStage
public com.jme3.math.Vector2f screenToWorld(com.jme3.math.Vector2f pos)
IStage
screenToWorld
in interface IStage
pos
- the new screen positionpublic void setAnimationSystem(AnimationSystem animationSystem)
IStage
setAnimationSystem
in interface IStage
animationSystem
- the new animation systempublic void setBehaviourMaker(BehaviourMaker bm)
IStage
setBehaviourMaker
in interface IStage
bm
- the new behaviour makerpublic void setContentFactory(IContentFactory contentFactory)
IStage
setContentFactory
in interface IStage
contentFactory
- the new content factorypublic void setDisplayDimensions(int width, int height)
IStage
setDisplayDimensions
in interface IStage
width
- the widthheight
- the heightpublic void setDragAndDropSystem(DragAndDropSystem dragAndDropSystem)
IStage
setDragAndDropSystem
in interface IStage
dragAndDropSystem
- the new drag and drop systempublic void setLocalStage(IStage stage)
stage
- the new local stagepublic void setPickSystem(IPickSystem pickSystem)
IStage
setPickSystem
in interface IStage
pickSystem
- the new pick systempublic void tableToScreen(com.jme3.math.Vector2f in, com.jme3.math.Vector2f out)
IStage
tableToScreen
in interface IStage
in
- the inout
- the outpublic com.jme3.math.Vector2f tableToWorld(com.jme3.math.Vector2f in)
IStage
tableToWorld
in interface IStage
in
- the inpublic void tableToWorld(com.jme3.math.Vector2f in, com.jme3.math.Vector2f out)
IStage
tableToWorld
in interface IStage
in
- the inout
- the out