|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.tudey.config.ActorSpriteConfig
com.threerings.tudey.config.ActorSpriteConfig.Default
com.threerings.tudey.config.ActorSpriteConfig.Moving
public static class ActorSpriteConfig.Moving
A sprite with idle and movement animations.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.tudey.config.ActorSpriteConfig |
|---|
ActorSpriteConfig.Default, ActorSpriteConfig.MovementSet, ActorSpriteConfig.Moving, ActorSpriteConfig.QuadMovement, ActorSpriteConfig.RotationSet, ActorSpriteConfig.SingleMovement, ActorSpriteConfig.State, ActorSpriteConfig.StatefulEntry, ActorSpriteConfig.WeightedAnimation |
| Field Summary | |
|---|---|
float |
attachedScale
A scale to apply to attached models. |
ActorSpriteConfig.WeightedAnimation[] |
idles
The idle animations for the sprite. |
ActorSpriteConfig.MovementSet[] |
movements
The sets of movement animations for the sprite. |
ActorSpriteConfig.RotationSet[] |
rotations
The sets of rotation animations for the sprite. |
float |
scale
A scale to apply to the sprite (affects the movement animation speeds). |
| Fields inherited from class com.threerings.tudey.config.ActorSpriteConfig |
|---|
creationTransient, destructionTransient, floorFlags, floorMask, model |
| Constructor Summary | |
|---|---|
ActorSpriteConfig.Moving()
|
|
| Method Summary | |
|---|---|
float[] |
getIdleWeights()
Returns the cached idle weight array. |
ActorSprite.Implementation |
getImplementation(TudeyContext ctx,
Scope scope,
ActorSprite.Implementation impl)
Creates or updates a sprite implementation for this configuration. |
void |
getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
Adds the resources to preload for this sprite into the provided set. |
void |
invalidate()
Invalidates any cached data. |
| 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(min=0.0,
step=0.01,
hgroup="s")
public float scale
@Editable(min=0.0,
step=0.01,
hgroup="s")
public float attachedScale
@Editable public ActorSpriteConfig.WeightedAnimation[] idles
@Editable public ActorSpriteConfig.MovementSet[] movements
@Editable public ActorSpriteConfig.RotationSet[] rotations
| Constructor Detail |
|---|
public ActorSpriteConfig.Moving()
| Method Detail |
|---|
public float[] getIdleWeights()
public void getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
ActorSpriteConfig
getPreloads in class ActorSpriteConfig
public ActorSprite.Implementation getImplementation(TudeyContext ctx,
Scope scope,
ActorSprite.Implementation impl)
ActorSpriteConfig
getImplementation in class ActorSpriteConfig.Defaultpublic void invalidate()
ActorSpriteConfig
invalidate in class ActorSpriteConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||