Constructor Detail |
public Sunlight(long length, float offset, float period)
length
- longoffset
- float the starting offset through the day, eg 0.5 = noon, 0.75 = sunsetperiod
- float the length of period of the day during which the scene will occur eg, 0.25 = quarter dayMethod Detail |
public javax.media.j3d.DirectionalLight getSunlight(double t)