|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.model.config.ModelConfig.Implementation
com.threerings.opengl.model.config.ModelConfig.Imported
com.threerings.opengl.model.config.ArticulatedConfig
public class ArticulatedConfig
An original articulated implementation.
| Nested Class Summary | |
|---|---|
static class |
ArticulatedConfig.AnimationMapping
A named animation reference. |
class |
ArticulatedConfig.Attachment
Represents an attached model. |
class |
ArticulatedConfig.Billboard
A billboard transform. |
static class |
ArticulatedConfig.BillboardRotationX
The options for billboard rotation about the x axis. |
static class |
ArticulatedConfig.BillboardRotationY
The options for billboard rotation about the y axis. |
static class |
ArticulatedConfig.MeshNode
A node containing a mesh. |
static class |
ArticulatedConfig.Node
A node within an Articulated model. |
class |
ArticulatedConfig.NodeTransform
Represents a transform to apply to a node. |
class |
ArticulatedConfig.Upright
A transform that orients the node vertically with respect to the world coordinate system. |
static interface |
ArticulatedConfig.ViewTransformUpdater
Marker interface for updaters that act on the view transform. |
static interface |
ArticulatedConfig.WorldTransformUpdater
Marker interface for updaters that act on the world transform. |
| Nested classes/interfaces inherited from class com.threerings.opengl.model.config.ModelConfig.Imported |
|---|
ModelConfig.Imported.MaterialMapping |
| Field Summary | |
|---|---|
ArticulatedConfig.AnimationMapping[] |
animationMappings
The model's animation mappings. |
ArticulatedConfig.Attachment[] |
attachments
The model's attachments. |
boolean |
completable
Whether or not the model can be completed. |
ArticulatedConfig.NodeTransform[] |
nodeTransforms
The model's node transforms. |
ArticulatedConfig.Node |
root
The root node. |
ModelConfig.MeshSet |
skin
The skin meshes. |
SceneElement.TickPolicy |
tickPolicy
The model's tick policy. |
| Fields inherited from class com.threerings.opengl.model.config.ModelConfig.Imported |
|---|
boundsExpansion, generateTangents, ignoreRootTransforms, influences, materialMappings, scale |
| Constructor Summary | |
|---|---|
ArticulatedConfig()
|
|
| Method Summary | |
|---|---|
static Updater |
createBillboardUpdater(Scope scope,
Transform3D parentViewTransform,
Transform3D localTransform,
ArticulatedConfig.BillboardRotationX rotationX,
ArticulatedConfig.BillboardRotationY rotationY)
Creates an updater to apply a billboard transform. |
Model.Implementation |
getModelImplementation(GlContext ctx,
Scope scope,
Model.Implementation impl)
Creates or updates a model implementation for this configuration. |
String[] |
getNodeNames()
Returns the names of the model's nodes in sorted order. |
void |
initTransientFields()
Initializes the transient fields of the objects after construction or deserialization. |
void |
readFields(Importer in)
Reads the fields of this object. |
| Methods inherited from class com.threerings.opengl.model.config.ModelConfig.Imported |
|---|
getParticleGeometry, getParticleMaterial, getSource, setSource, updateFromSource |
| Methods inherited from class com.threerings.opengl.model.config.ModelConfig.Implementation |
|---|
getConfigManager, getOriginal, getUpdateReferences, invalidate |
| 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 |
|---|
@Editable(hgroup="t") public SceneElement.TickPolicy tickPolicy
@Editable(hgroup="t") public boolean completable
@Editable public ArticulatedConfig.AnimationMapping[] animationMappings
@Editable(depends="source") public ArticulatedConfig.NodeTransform[] nodeTransforms
@Editable(depends="source") public ArticulatedConfig.Attachment[] attachments
@Shallow public ArticulatedConfig.Node root
@Shallow public ModelConfig.MeshSet skin
| Constructor Detail |
|---|
public ArticulatedConfig()
| Method Detail |
|---|
public static Updater createBillboardUpdater(Scope scope,
Transform3D parentViewTransform,
Transform3D localTransform,
ArticulatedConfig.BillboardRotationX rotationX,
ArticulatedConfig.BillboardRotationY rotationY)
public String[] getNodeNames()
public void readFields(Importer in)
throws IOException
IOExceptionpublic void initTransientFields()
public Model.Implementation getModelImplementation(GlContext ctx,
Scope scope,
Model.Implementation impl)
ModelConfig.Implementation
getModelImplementation in class ModelConfig.Importedscope - the model's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||