|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapps.networkedthreedpuzzle.SpatialAttributes
public class SpatialAttributes
The Class SpatialAttributes.
Constructor Summary | |
---|---|
SpatialAttributes(java.lang.String spatialName,
java.lang.String type,
com.jme.math.Vector3f position,
com.jme.math.Quaternion rotation)
Instantiates a new spatial attributes. |
Method Summary | |
---|---|
com.jme.math.Vector3f |
getPosition()
Gets the position. |
com.jme.math.Quaternion |
getRotation()
Gets the rotation. |
java.lang.String |
getSpatialName()
Gets the spatial name. |
java.lang.String |
getType()
Gets the type. |
void |
setPosition(com.jme.math.Vector3f position)
Sets the position. |
void |
setRotation(com.jme.math.Quaternion rotation)
Sets the rotation. |
void |
setSpatialName(java.lang.String spatialName)
Sets the spatial name. |
void |
setType(java.lang.String type)
Sets the type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpatialAttributes(java.lang.String spatialName, java.lang.String type, com.jme.math.Vector3f position, com.jme.math.Quaternion rotation)
spatialName
- the spatial nametype
- the typeposition
- the positionrotation
- the rotationMethod Detail |
---|
public com.jme.math.Vector3f getPosition()
public com.jme.math.Quaternion getRotation()
public java.lang.String getSpatialName()
public java.lang.String getType()
public void setPosition(com.jme.math.Vector3f position)
position
- the new positionpublic void setRotation(com.jme.math.Quaternion rotation)
rotation
- the new rotationpublic void setSpatialName(java.lang.String spatialName)
spatialName
- the new spatial namepublic void setType(java.lang.String type)
type
- the new type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |