public class BindPoint extends A3DObject
name, properties
Constructor and Description |
---|
BindPoint(Scene scene,
Property prop)
Initializes a new instance of the
BindPoint class. |
Modifier and Type | Method and Description |
---|---|
boolean |
addChannel(java.lang.String name,
java.lang.Class<?> type,
java.lang.Object value)
Adds the specified channel property.
|
boolean |
addChannel(java.lang.String name,
java.lang.Object value)
Adds the specified channel property.
|
void |
bindKeyframeSequence(java.lang.String channelName,
KeyframeSequence sequence)
Bind the keyframe sequence to specified channel
|
KeyframeSequence |
createKeyframeSequence(java.lang.String name)
Creates a new curve and connects it to the first channel of the curve mapping
|
AnimationChannel |
get(java.lang.String channelName)
Gets channel by given name
|
AnimationChannel |
getChannel(java.lang.String channelName)
Gets channel by given name
|
int |
getChannelsCount()
Gets the total number of property channels defined in this animation curve mapping.
|
KeyframeSequence |
getKeyframeSequence(java.lang.String channelName)
Gets the first keyframe sequence in specified channel
|
java.util.List<KeyframeSequence> |
getKeyframeSequences(java.lang.String channelName)
Gets all keyframe sequences in specified channel
|
Property |
getProperty()
Gets the property associated with the CurveMapping
|
void |
resetChannels()
Empties the property channels of this animation curve mapping.
|
void |
setProperty(Property value)
Gets the property associated with the CurveMapping
|
java.lang.String |
toString()
Formats object to string
|
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
public Property getProperty()
public void setProperty(Property value)
value
- New valuepublic KeyframeSequence getKeyframeSequence(java.lang.String channelName)
channelName
- The channel name to findpublic java.util.List<KeyframeSequence> getKeyframeSequences(java.lang.String channelName)
channelName
- The channel name to findpublic KeyframeSequence createKeyframeSequence(java.lang.String name)
name
- The new sequence's name.public void bindKeyframeSequence(java.lang.String channelName, KeyframeSequence sequence)
channelName
- Which channel the keyframe sequence will be bound tosequence
- The keyframe sequence to bindpublic AnimationChannel getChannel(java.lang.String channelName)
channelName
- The channel name to findpublic AnimationChannel get(java.lang.String channelName)
channelName
- Channel namepublic boolean addChannel(java.lang.String name, java.lang.Object value)
name
- Name.value
- Value.public boolean addChannel(java.lang.String name, java.lang.Class<?> type, java.lang.Object value)
name
- Name.type
- Type.value
- Value.public void resetChannels()
public int getChannelsCount()
public java.lang.String toString()
toString
in class java.lang.Object