Package com.aspose.threed
Class BindPoint
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- com.aspose.threed.BindPoint
-
- All Implemented Interfaces:
INamedObject
public class BindPoint extends A3DObject
-
-
Field Summary
-
Fields inherited from class com.aspose.threed.A3DObject
name, properties
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 channelKeyframeSequence
createKeyframeSequence(java.lang.String name)
Creates a new curve and connects it to the first channel of the curve mappingAnimationChannel
get(java.lang.String channelName)
Gets channel by given nameAnimationChannel
getChannel(java.lang.String channelName)
Gets channel by given nameint
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 channeljava.util.List<KeyframeSequence>
getKeyframeSequences(java.lang.String channelName)
Gets all keyframe sequences in specified channelProperty
getProperty()
Gets the property associated with the CurveMappingvoid
resetChannels()
Empties the property channels of this animation curve mapping.void
setProperty(Property value)
Gets the property associated with the CurveMappingjava.lang.String
toString()
Formats object to string-
Methods inherited from class com.aspose.threed.A3DObject
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
-
-
-
-
Method Detail
-
getProperty
public Property getProperty()
Gets the property associated with the CurveMapping
-
setProperty
public void setProperty(Property value)
Gets the property associated with the CurveMapping- Parameters:
value
- New value
-
getKeyframeSequence
public KeyframeSequence getKeyframeSequence(java.lang.String channelName)
Gets the first keyframe sequence in specified channel- Parameters:
channelName
- The channel name to find- Returns:
- First keyframe sequence with the channel name
-
getKeyframeSequences
public java.util.List<KeyframeSequence> getKeyframeSequences(java.lang.String channelName)
Gets all keyframe sequences in specified channel- Parameters:
channelName
- The channel name to find- Returns:
- Keyframe sequence list with the channel name
-
createKeyframeSequence
public KeyframeSequence createKeyframeSequence(java.lang.String name)
Creates a new curve and connects it to the first channel of the curve mapping- Parameters:
name
- The new sequence's name.- Returns:
- The keyframe sequence.
-
bindKeyframeSequence
public void bindKeyframeSequence(java.lang.String channelName, KeyframeSequence sequence)
Bind the keyframe sequence to specified channel- Parameters:
channelName
- Which channel the keyframe sequence will be bound tosequence
- The keyframe sequence to bind
-
getChannel
public AnimationChannel getChannel(java.lang.String channelName)
Gets channel by given name- Parameters:
channelName
- The channel name to find- Returns:
- Channel with the name
-
get
public AnimationChannel get(java.lang.String channelName)
Gets channel by given name- Parameters:
channelName
- Channel name- Returns:
- Animation channel
-
addChannel
public boolean addChannel(java.lang.String name, java.lang.Object value)
Adds the specified channel property.- Parameters:
name
- Name.value
- Value.- Returns:
- true, if channel was added, false otherwise.
-
addChannel
public boolean addChannel(java.lang.String name, java.lang.Class<?> type, java.lang.Object value)
Adds the specified channel property.- Parameters:
name
- Name.type
- Type.value
- Value.- Returns:
- true, if channel was added, false otherwise.
-
resetChannels
public void resetChannels()
Empties the property channels of this animation curve mapping.
-
getChannelsCount
public int getChannelsCount()
Gets the total number of property channels defined in this animation curve mapping.- Returns:
- The channels count.
-
toString
public java.lang.String toString()
Formats object to string- Overrides:
toString
in classjava.lang.Object
- Returns:
- Object string
-
-