AnimationChannel

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Iterable

public class AnimationChannel implements Iterable<KeyframeSequence>

A channel maps property’s component field to a set of keyframe sequences

Methods

MethodDescription
addKeyframeSequence(KeyframeSequence sequence)Adds keyframe sequence to this channel
equals(Object arg0)
getClass()
getComponentType()Gets the component field’s type
getDefaultValue()Gets the Default value of the channel.
getKeyframeSequence()Gets associated keyframe sequence inside this channel
getKeyframeSequences()Gets all keyframe sequences inside this channel
getName()Gets the name of the channel
hashCode()
iterator()Gets an enumerator to walk through all keyframe sequences inside this channel
notify()
notifyAll()
setDefaultValue(Object value)Sets the Default value of the channel.
setKeyframeSequence(KeyframeSequence value)Gets associated keyframe sequence inside this channel
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

addKeyframeSequence(KeyframeSequence sequence)

public void addKeyframeSequence(KeyframeSequence sequence)

Adds keyframe sequence to this channel

Parameters:

ParameterTypeDescription
sequenceKeyframeSequenceThe keyframe sequence to add.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getComponentType()

public Class<?> getComponentType()

Gets the component field’s type

Returns: java.lang.Class

getDefaultValue()

public Object getDefaultValue()

Gets the Default value of the channel. If a channel has no keyframe sequences connected, the default value will be used during the animation evaluation. A real scenario: Animation only animates a node’s x coordinate, the y and z are not changed, then the default value will be used during full translation evaluation.

Returns: java.lang.Object

getKeyframeSequence()

public KeyframeSequence getKeyframeSequence()

Gets associated keyframe sequence inside this channel

Returns: KeyframeSequence

getKeyframeSequences()

public List<KeyframeSequence> getKeyframeSequences()

Gets all keyframe sequences inside this channel

Returns: java.util.List<com.aspose.threed.KeyframeSequence>

getName()

public String getName()

Gets the name of the channel

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

iterator()

public Iterator<KeyframeSequence> iterator()

Gets an enumerator to walk through all keyframe sequences inside this channel

Returns: java.util.Iterator<com.aspose.threed.KeyframeSequence> - Enumerator

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDefaultValue(Object value)

public void setDefaultValue(Object value)

Sets the Default value of the channel. If a channel has no keyframe sequences connected, the default value will be used during the animation evaluation. A real scenario: Animation only animates a node’s x coordinate, the y and z are not changed, then the default value will be used during full translation evaluation.

Parameters:

ParameterTypeDescription
valuejava.lang.ObjectNew value

setKeyframeSequence(KeyframeSequence value)

public void setKeyframeSequence(KeyframeSequence value)

Gets associated keyframe sequence inside this channel

Parameters:

ParameterTypeDescription
valueKeyframeSequenceNew value

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int