public class AnimateTexturesBehavior extends Behavior
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_CUSTOM_RGB |
static int |
TYPE_CUSTOM_RGBA |
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING| Constructor and Description |
|---|
AnimateTexturesBehavior(Texture2D texP,
java.net.URL[] fnames,
Appearance appP,
TextureByReference applet) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Initialize this behavior.
|
void |
processStimulus(java.util.Iterator<WakeupCriterion> criteria)
Process a stimulus meant for this behavior.
|
void |
setByReference(boolean b) |
void |
setFlipImages(boolean b) |
void |
setFrameDelay(int delay) |
void |
setImageType(int newType) |
void |
setImageTypeCustomRGB() |
void |
setImageTypeCustomRGBA() |
void |
setYUp(boolean b) |
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferencescloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickableclearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toStringpublic static final int TYPE_CUSTOM_RGBA
public static final int TYPE_CUSTOM_RGB
public AnimateTexturesBehavior(Texture2D texP, java.net.URL[] fnames, Appearance appP, TextureByReference applet)
public void initialize()
Behaviorinitialize in class Behaviorpublic void processStimulus(java.util.Iterator<WakeupCriterion> criteria)
BehaviorprocessStimulus in class Behaviorcriteria - an iterator of triggered wakeup criteria for this
behaviorpublic void setFlipImages(boolean b)
public void setYUp(boolean b)
public void setByReference(boolean b)
public void setFrameDelay(int delay)
public void setImageType(int newType)
public void setImageTypeCustomRGBA()
public void setImageTypeCustomRGB()