All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class improv.actor.behavior.Layer
java.lang.Object
   |
   +----improv.actor.behavior.Layer
  -  public final class Layer
  
-  extends Object
  
  
  -  
	hasChannels
   -  
  
 -  
	isHidden
   -  
  
 -  
	optimized
   -  
 
  
  -  
	Layer(String)
   -  
  
 -  
	Layer(String, Actor)
   -  
  
 -  
	Layer(String, Actor, float, int)
   -  
 
  
  -  
	addBehavior(Behavior)
   -  Add a previously defined behavior to a layer 
 
  
 -  
	addSequence(String)
   -  Create a new Sequence with the default values and add it to the Layer
	
  
 -  
	addSequence(String, double, Curve, boolean, double, boolean)
   -  Create a new Sequence and add it to the Layer
	
  
 -  
	addState(String)
   -  Create a new State with the default values and add it to the Layer
	
  
 -  
	addState(String, double, Curve, double, Curve, boolean, double, int, boolean)
   -  Create a State and add it to layer
	
  
 -  
	deleteBehavior(int)
   -  
  
 -  
	deleteBehavior(String)
   -  
  
 -  
	finishLayer()
   -  
	Called by the Actor class
  
 -  
	getActiveBehavior()
   -  
  
 -  
	getActor()
   -  
  
 -  
	getBehavior(int)
   -  
  
 -  
	getBehavior(String)
   -  
  
 -  
	getBehaviors()
   -  
  
 -  
	getComposite()
   -  
  
 -  
	getName()
   -  
  
 -  
	getNumberOfBehaviors()
   -  
  
 -  
	getOpacity()
   -  
  
 -  
	getTimeChannel()
   -  
  
 -  
	getTimeScale()
   -  
  
 -  
	hasBehavior(String)
   -  	
  
 -  
	isHidden()
   -  
  
 -  
	processFilters()
   -  
  
 -  
	renameBehavior(Behavior, String)
   -  
  
 -  
	resetFilters()
   -  
	Called by the Actor class
  
 -  
	setActiveBehavior(Behavior)
   -  
  
 -  
	setActiveBehavior(Behavior, double, boolean)
   -  
  
 -  
	setActiveBehavior(int)
   -  
  
 -  
	setActiveBehavior(int, double, boolean)
   -  
  
 -  
	setActiveBehavior(String)
   -  
  
 -  
	setActiveBehavior(String, double, boolean)
   -  
  
 -  
	setActor(Actor)
   -  
  
 -  
	setBackground(Behavior)
   -  
  
 -  
	setBackground(String)
   -  
  
 -  
	setChannelList(String[])
   -  
  
 -  
	setComposite(int)
   -  
  
 -  
	setComposite(String)
   -  
  
 -  
	setHasChannelList(boolean)
   -  
  
 -  
	setHasChannels(boolean)
   -  
  
 -  
	setHidden(boolean)
   -  
  
 -  
	setName(String)
   -  
  
 -  
	setOpacity(float)
   -  
 
  
hasChannels
 public boolean hasChannels
optimized
 public boolean optimized
isHidden
 public boolean isHidden
  
Layer
 public Layer(String name,
              Actor actor)
Layer
 public Layer(String name)
Layer
 public Layer(String name,
              Actor actor,
              float opacity,
              int composite)
  
addBehavior
 public void addBehavior(Behavior behavior)
  -  Add a previously defined behavior to a layer
 
addState
 public State addState(String name,
                       double transitionTime,
                       Curve transitionCurve,
                       double timeScale,
                       Curve timeScaleCurve,
                       boolean localClock,
                       double duration,
                       int composite,
                       boolean momentary)
  -  Create a State and add it to layer
  
    -  Parameters:
    
 -  name - the name of the State
    
-  transitionTime - the default transition time
    
-  transitionCurve - the default transition curve
    
-  timeScale - the time scale of the State. Used in synchronizing differently phased animations.
    
-  timeScaleCurve - the time scale curve.
    
-  localClock - if TRUE, clock is based on start time of the state, otherwise clock is based on the clock of the previous state.
    
-  duration - the default duration of the State
    
-  composite - the compositing behavior of this State, possible values are ADD, SUBTRACT, MULTIPLY, DIVIDE, MIN, MAX, and POW.
    
-  momentary - if TRUE, the State active immediately preceding this State will be activated at the end of this states's duration, if FALSE, the default State for this layer will be activated.
    
         -  Returns:
    
 -  the added State
  
 
 
 
addState
 public State addState(String name)
  -  Create a new State with the default values and add it to the Layer
  
    -  Parameters:
    
 -  name - the name of the State
    
 -  Returns:
    
 -  the added State
  
 
 
 
addSequence
 public Sequence addSequence(String name,
                             double timeScale,
                             Curve timeScaleCurve,
                             boolean localClock,
                             double duration,
                             boolean momentary)
  -  Create a new Sequence and add it to the Layer
  
    -  Parameters:
    
 -  name - the name of the sequence
    
-  timeScale - the time scale of the sequence
    
-  timeScaleCurve - the time scale curve of the sequence
    
-  localClock - if TRUE, the clock for this sequence is based on the start time of the Sequence, otherwise it is based on the clock of the immediately preceding Sequence.
    
-  duration - the default duration of the Sequence.
    
-  momentary - if TRUE, the State active immediately preceding this State will be activated at the end of this states's duration, if FALSE, the default State for this layer will be activated.
    
      -  Returns:
    
 -  the added Sequence
  
 
 
 
addSequence
 public Sequence addSequence(String name)
  -  Create a new Sequence with the default values and add it to the Layer
  
    -  Returns:
    
 -  the added Sequence
  
 
 
 
hasBehavior
 public boolean hasBehavior(String behaviorName)
  
    -  Returns:
    
 -  TRUE if the Layer contains the State or Sequence, otherwise FALSE.
  
 
 
setHidden
 public void setHidden(boolean b)
isHidden
 public boolean isHidden()
setName
 public void setName(String name)
getName
 public String getName()
getActor
 public Actor getActor()
setActor
 public void setActor(Actor actor)
resetFilters
 public void resetFilters()
  -  Called by the Actor class
 
finishLayer
 public void finishLayer()
  -  Called by the Actor class
 
setChannelList
 public void setChannelList(String n[])
setHasChannels
 public void setHasChannels(boolean b)
setHasChannelList
 public void setHasChannelList(boolean b)
deleteBehavior
 public void deleteBehavior(int position)
deleteBehavior
 public void deleteBehavior(String behaviorName)
setBackground
 public void setBackground(String behaviorName)
setBackground
 public void setBackground(Behavior behavior)
renameBehavior
 public void renameBehavior(Behavior b,
                            String s)
setActiveBehavior
 public void setActiveBehavior(int i)
setActiveBehavior
 public void setActiveBehavior(String s)
setActiveBehavior
 public void setActiveBehavior(Behavior b)
setActiveBehavior
 public void setActiveBehavior(int i,
                               double dur,
                               boolean mom)
setActiveBehavior
 public void setActiveBehavior(String s,
                               double dur,
                               boolean mom)
setActiveBehavior
 public void setActiveBehavior(Behavior fs,
                               double dur,
                               boolean mom)
getActiveBehavior
 public Behavior getActiveBehavior()
getBehaviors
 public Behavior[] getBehaviors()
getBehavior
 public Behavior getBehavior(int i)
getBehavior
 public Behavior getBehavior(String s)
getNumberOfBehaviors
 public int getNumberOfBehaviors()
getTimeChannel
 public SFFloatChannel getTimeChannel()
getTimeScale
 public float getTimeScale()
setOpacity
 public void setOpacity(float f)
getOpacity
 public float getOpacity()
processFilters
 public void processFilters()
setComposite
 public void setComposite(int i)
setComposite
 public void setComposite(String s)
getComposite
 public int getComposite()
All Packages  Class Hierarchy  This Package  Previous  Next  Index