com.threerings.opengl.model.config
Class ActionConfig.ShakeCamera

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.model.config.ActionConfig
          extended by com.threerings.opengl.model.config.ActionConfig.ShakeCamera
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ActionConfig

public static class ActionConfig.ShakeCamera
extends ActionConfig

Shakes the camera briefly using a damped oscillation.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.model.config.ActionConfig
ActionConfig.CallFunction, ActionConfig.PlaySound, ActionConfig.ShakeCamera, ActionConfig.SpawnTransient
 
Field Summary
 Vector3f amplitude
          The amplitude of the shake.
 float duration
          The total duration of the shake.
 float falloff
           
 float frequency
          The oscillation frequency.
 float innerRadius
          The inner radius of the effect (within which the shake will be at full amplitude).
 float outerRadius
          The outer radius of the effect (outside of which the shake will not be felt).
 
Constructor Summary
ActionConfig.ShakeCamera()
           
 
Method Summary
 Executor createExecutor(GlContext ctx, Scope scope)
          Creates an executor for this action.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

frequency

@Editable(min=0.0,
          step=0.01,
          hgroup="f")
public float frequency
The oscillation frequency.


falloff

@Editable(min=0.0,
          step=0.01,
          hgroup="f")
public float falloff

duration

@Editable(min=0.0,
          step=0.01,
          hgroup="f")
public float duration
The total duration of the shake.


innerRadius

@Editable(min=0.0,
          step=0.01,
          hgroup="r")
public float innerRadius
The inner radius of the effect (within which the shake will be at full amplitude).


outerRadius

@Editable(min=0.0,
          step=0.01,
          hgroup="r")
public float outerRadius
The outer radius of the effect (outside of which the shake will not be felt).


amplitude

@Editable(step=0.01)
public Vector3f amplitude
The amplitude of the shake.

Constructor Detail

ActionConfig.ShakeCamera

public ActionConfig.ShakeCamera()
Method Detail

createExecutor

public Executor createExecutor(GlContext ctx,
                               Scope scope)
Description copied from class: ActionConfig
Creates an executor for this action.

Specified by:
createExecutor in class ActionConfig


Copyright © 2011. All Rights Reserved.