Class Item
java.lang.Object
|
+----Item
- public class Item
- extends Object
-
blue
-
-
created
-
-
elasticity
-
-
friction
-
-
green
-
-
item
-
-
m
-
-
model
-
-
p
-
-
pitch
-
-
r
-
-
red
-
-
removeChildren
-
-
set_intensity
-
-
set_startTime
-
-
set_stopTime
-
-
set_translation
-
-
set_transparency
-
-
v
-
-
Item(Model)
-
-
bounce(double)
-
-
create(Browser, Node)
-
-
destroy()
-
-
move()
-
-
setAppearance(float, float, float, float)
-
-
setMaterial(float, float, float, float)
-
-
setPosition(float, float, float)
-
-
setTransparency(float)
-
-
setVelocity(float, float, float)
-
-
toString()
-
p
public float p[]
v
public float v[]
r
public float r
m
public float m
elasticity
public float elasticity
friction
public float friction
red
public float red
green
public float green
blue
public float blue
pitch
public float pitch
model
private Model model
item
private Node item[]
removeChildren
private EventInMFNode removeChildren
set_translation
private EventInSFVec3f set_translation
set_transparency
private EventInSFFloat set_transparency
set_intensity
private EventInSFFloat set_intensity
set_startTime
private EventInSFTime set_startTime
set_stopTime
private EventInSFTime set_stopTime
created
private boolean created
Item
public Item(Model model)
setMaterial
public void setMaterial(float size,
float dense,
float elasticity,
float friction)
setAppearance
public void setAppearance(float red,
float green,
float blue,
float pitch)
setPosition
public void setPosition(float x,
float y,
float z)
setVelocity
public void setVelocity(float vx,
float vy,
float vz)
create
public void create(Browser browser,
Node root)
destroy
public void destroy()
move
public void move()
bounce
public void bounce(double intensity)
setTransparency
public void setTransparency(float transparency)
toString
public String toString()
- Overrides:
- toString in class Object