Module Stage :: Class Effect
[show private | hide private]
[frames | no frames]

Type Effect

object --+
         |
        Effect

Known Subclasses:
LightEffect, RotateEffect, ScaleEffect, WiggleEffect

An animationn effect that can be attached to a Layer.
Method Summary
  __init__(self, layer, options)
Constructor.
  apply(self)
  getNoteColor(self, note)
  linstep(self, min, max, x)
  sinstep(self, min, max, x)
  smoothstep(self, min, max, x)
  step(self, threshold, x)
  triggerBeat(self)
  triggerMiss(self)
  triggerNone(self)
  triggerPick(self)
  triggerQuarterbeat(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

__init__(self, layer, options)
(Constructor)

Constructor.

@param layer:     Layer to attach this effect to.
@param options:   Effect options (default in parens):
                    intensity - Floating point effect intensity (1.0)
                    trigger   - Effect trigger, one of "none", "beat",
                                "quarterbeat", "pick", "miss" ("none")
                    period    - Trigger period in ms (200.0)
                    delay     - Trigger delay in periods (0.0)
                    profile   - Trigger profile, one of "step", "linstep",
                                "smoothstep"
Overrides:
__builtin__.object.__init__

Generated by Epydoc 2.1 on Sat Apr 14 13:33:25 2007 http://epydoc.sf.net