camera3d.action
Class AddLightAction

java.lang.Object
  extended bycamera3d.action.VcAction
      extended bycamera3d.action.VcLightAction
          extended bycamera3d.action.AddLightAction

public class AddLightAction
extends VcLightAction

Adds a light to the scene graph.

Version:
1.0
Author:
Fábio Roberto de Miranda

Field Summary
static int AMBIENT_LIGHT
           
static int DIRECTIONAL_LIGHT
           
static int LASER_ARRAY
           
static int POINT_LIGHT
           
static int SPOT_LIGHT
           
 
Fields inherited from class camera3d.action.VcAction
MULTIPLE_OBJECT_ACTION, SINGLE_OBJECT_ACTION
 
Constructor Summary
AddLightAction(int type, java.lang.String name)
           
AddLightAction(java.lang.String type, java.lang.String name)
           
 
Method Summary
 void doAction(ActionExecutor executor)
          Performs the action.
 
Methods inherited from class camera3d.action.VcAction
debugln, getMultiplicityType, isUndoable, setMultiplicityType, undoAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POINT_LIGHT

public static final int POINT_LIGHT
See Also:
Constant Field Values

SPOT_LIGHT

public static final int SPOT_LIGHT
See Also:
Constant Field Values

DIRECTIONAL_LIGHT

public static final int DIRECTIONAL_LIGHT
See Also:
Constant Field Values

AMBIENT_LIGHT

public static final int AMBIENT_LIGHT
See Also:
Constant Field Values

LASER_ARRAY

public static final int LASER_ARRAY
See Also:
Constant Field Values
Constructor Detail

AddLightAction

public AddLightAction(int type,
                      java.lang.String name)

AddLightAction

public AddLightAction(java.lang.String type,
                      java.lang.String name)
Method Detail

doAction

public void doAction(ActionExecutor executor)
Description copied from class: VcAction
Performs the action.

Specified by:
doAction in class VcAction
Parameters:
executor - provides any resource necessary for the action execution, such as references to other objects.


Copyright © 2001-2003 F.R. Miranda, C.S. Santos, J.E. Kogler Jr.. All Rights Reserved.