com.threerings.opengl.model.config
Class CompoundConfig
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.model.config.ModelConfig.Implementation
com.threerings.opengl.model.config.CompoundConfig
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
public class CompoundConfig
- extends ModelConfig.Implementation
A compound model implementation.
tickPolicy
@Editable
public SceneElement.TickPolicy tickPolicy
- The model's tick policy.
influences
@Editable
public InfluenceFlagConfig influences
- The influences allowed to affect this model.
models
@Editable
public CompoundConfig.ComponentModel[] models
- The component models.
CompoundConfig
public CompoundConfig()
getModelImplementation
public Model.Implementation getModelImplementation(GlContext ctx,
Scope scope,
Model.Implementation impl)
- Description copied from class:
ModelConfig.Implementation
- Creates or updates a model implementation for this configuration.
- Specified by:
getModelImplementation in class ModelConfig.Implementation
scope - the model's expression scope.impl - an existing implementation to reuse, if possible.
- Returns:
- either a reference to the existing implementation (if reused), a new
implementation, or
null if no implementation could be created.
Copyright © 2011. All Rights Reserved.