com.threerings.opengl.model.config
Class ActionConfig.SpawnTransient
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.model.config.ActionConfig
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.
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.
ActionConfig.SpawnTransient
public ActionConfig.SpawnTransient()
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.