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

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.SpawnTransient
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ActionConfig

public static class ActionConfig.SpawnTransient
extends ActionConfig

Creates a transient model (such as a particle system) and adds it to the scene at the location of one of the model's nodes.


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
 ConfigReference<ModelConfig> model
          The model to spawn.
 boolean moveWithOrigin
          Whether or not to move the transient with its origin.
 String node
          The node at whose transform the model should be added.
 Transform3D transform
          The transform relative to the node.
 
Constructor Summary
ActionConfig.SpawnTransient()
           
 
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

moveWithOrigin

@Editable
public boolean moveWithOrigin
Whether or not to move the transient with its origin.


model

@Editable(nullable=true)
public ConfigReference<ModelConfig> model
The model to spawn.


node

@Editable
public String node
The node at whose transform the model should be added.


transform

@Editable(step=0.01)
public Transform3D transform
The transform relative to the node.

Constructor Detail

ActionConfig.SpawnTransient

public ActionConfig.SpawnTransient()
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.