|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VRMLSequencerNodeType
Sequencer nodes are designed for discrete animation.
Sequencers are driven by an input key ranging [0..1] and produce corresponding impulse output functions.
This interface represents the X3D abstract node type X3DInterpolatorNode, which is defined as:
X3DSequencerNode : X3DChildNode {
SFBool [in] next
SFBool [in] previous
SFFloat [in] set_fraction (-inf,inf)
MFFloat [in,out] key [] (-inf,inf)
MF [in,out] keyValue []
SFNode [in,out] metadata NULL [X3DMetadataObject]
[S|M]F [out] value_changed
}
| Method Summary | |
|---|---|
float |
getFraction()
Get the current value of the fraction field. |
float[] |
getKey()
Get current value of the key field. |
int |
getNumKey()
Get the number of valid keys defined for this interpolator. |
void |
setFraction(float fraction)
Set a new value for the fraction field. |
void |
setKey(float[] keys,
int numValid)
Set a new value for the key field. |
void |
setNext()
Cause the next value to be generated on the output. |
void |
setPrevious()
Cause the previous value to be generated on the output. |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType |
|---|
addNodeListener, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount |
| Methods inherited from interface org.web3d.vrml.lang.VRMLNode |
|---|
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion |
| Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener |
|---|
allEventsComplete |
| Method Detail |
|---|
void setNext()
void setPrevious()
void setFraction(float fraction)
fraction - The new value for fractionfloat getFraction()
void setKey(float[] keys,
int numValid)
null
will delete all key values.
keys - The new key valuesnumValid - The number of valid values to copy from the arrayfloat[] getKey()
int getNumKey()
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||