com.jme.input.controls.controller.camera
Class FixedCameraPerspective

java.lang.Object
  extended by com.jme.input.controls.controller.camera.FixedCameraPerspective
All Implemented Interfaces:
CameraPerspective

public class FixedCameraPerspective
extends java.lang.Object
implements CameraPerspective

Follows behind the spatial

Author:
Matthew D. Hicks

Constructor Summary
FixedCameraPerspective(Vector3f location)
           
FixedCameraPerspective(Vector3f location, boolean hideSpatialOnActivate)
           
 
Method Summary
 Vector3f getLocation()
           
 void setActive(Camera camera, Spatial spatial, boolean active)
           
 void update(Camera camera, Spatial spatial, float time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedCameraPerspective

public FixedCameraPerspective(Vector3f location)

FixedCameraPerspective

public FixedCameraPerspective(Vector3f location,
                              boolean hideSpatialOnActivate)
Method Detail

getLocation

public Vector3f getLocation()

update

public void update(Camera camera,
                   Spatial spatial,
                   float time)
Specified by:
update in interface CameraPerspective

setActive

public void setActive(Camera camera,
                      Spatial spatial,
                      boolean active)
Specified by:
setActive in interface CameraPerspective