BindPoint

Inheritance: java.lang.Object, com.aspose.threed.A3DObject

public class BindPoint extends A3DObject

A BindPoint is usually created on an object’s property, some property types contains multiple component fields(like a Vector3 field), BindPoint will generate channel for each component field and connects the field to one or more keyframe sequence instance(s) through the channels.

Constructors

ConstructorDescription
BindPoint(Scene scene, Property prop)Initializes a new instance of the BindPoint class.

Methods

MethodDescription
addChannel(String name, Class type, Object value)Adds the specified channel property.
addChannel(String name, Object value)Adds the specified channel property.
bindKeyframeSequence(String channelName, KeyframeSequence sequence)Bind the keyframe sequence to specified channel
createKeyframeSequence(String name)Creates a new curve and connects it to the first channel of the curve mapping
equals(Object arg0)
findProperty(String propertyName)Finds the property.
get(String channelName)Gets channel by given name
getChannel(String channelName)Gets channel by given name
getChannelsCount()Gets the total number of property channels defined in this animation curve mapping.
getClass()
getKeyframeSequence(String channelName)Gets the first keyframe sequence in specified channel
getKeyframeSequences(String channelName)Gets all keyframe sequences in specified channel
getName()Gets the name.
getProperties()Gets the collection of all properties.
getProperty()Gets the property associated with the CurveMapping
getProperty(String property)Get the value of specified property
hashCode()
notify()
notifyAll()
removeProperty(Property property)Removes a dynamic property.
removeProperty(String property)Remove the specified property identified by name
resetChannels()Empties the property channels of this animation curve mapping.
setName(String value)Sets the name.
setProperty(Property value)Gets the property associated with the CurveMapping
setProperty(String property, Object value)Sets the value of specified property
toString()Formats object to string
wait()
wait(long arg0)
wait(long arg0, int arg1)

BindPoint(Scene scene, Property prop)

public BindPoint(Scene scene, Property prop)

Initializes a new instance of the BindPoint class.

Parameters:

ParameterTypeDescription
sceneSceneThe scene that contains the animation.
propPropertyProperty.

addChannel(String name, Class type, Object value)

public boolean addChannel(String name, Class<?> type, Object value)

Adds the specified channel property.

Parameters:

ParameterTypeDescription
namejava.lang.StringName.
typejava.lang.ClassType.
valuejava.lang.ObjectValue.

Returns: boolean - true, if channel was added, false otherwise.

addChannel(String name, Object value)

public boolean addChannel(String name, Object value)

Adds the specified channel property.

Parameters:

ParameterTypeDescription
namejava.lang.StringName.
valuejava.lang.ObjectValue.

Returns: boolean - true, if channel was added, false otherwise.

bindKeyframeSequence(String channelName, KeyframeSequence sequence)

public void bindKeyframeSequence(String channelName, KeyframeSequence sequence)

Bind the keyframe sequence to specified channel

Parameters:

ParameterTypeDescription
channelNamejava.lang.StringWhich channel the keyframe sequence will be bound to
sequenceKeyframeSequenceThe keyframe sequence to bind

createKeyframeSequence(String name)

public KeyframeSequence createKeyframeSequence(String name)

Creates a new curve and connects it to the first channel of the curve mapping

Parameters:

ParameterTypeDescription
namejava.lang.StringThe new sequence’s name.

Returns: KeyframeSequence - The keyframe sequence.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

findProperty(String propertyName)

public Property findProperty(String propertyName)

Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)

Parameters:

ParameterTypeDescription
propertyNamejava.lang.StringProperty name.

Returns: Property - The property.

get(String channelName)

public AnimationChannel get(String channelName)

Gets channel by given name

Parameters:

ParameterTypeDescription
channelNamejava.lang.StringChannel name

Returns: AnimationChannel - Animation channel

getChannel(String channelName)

public AnimationChannel getChannel(String channelName)

Gets channel by given name

Parameters:

ParameterTypeDescription
channelNamejava.lang.StringThe channel name to find

Returns: AnimationChannel - Channel with the name

getChannelsCount()

public int getChannelsCount()

Gets the total number of property channels defined in this animation curve mapping.

Returns: int - The channels count.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getKeyframeSequence(String channelName)

public KeyframeSequence getKeyframeSequence(String channelName)

Gets the first keyframe sequence in specified channel

Parameters:

ParameterTypeDescription
channelNamejava.lang.StringThe channel name to find

Returns: KeyframeSequence - First keyframe sequence with the channel name

getKeyframeSequences(String channelName)

public List<KeyframeSequence> getKeyframeSequences(String channelName)

Gets all keyframe sequences in specified channel

Parameters:

ParameterTypeDescription
channelNamejava.lang.StringThe channel name to find

Returns: java.util.List<com.aspose.threed.KeyframeSequence> - Keyframe sequence list with the channel name

getName()

public String getName()

Gets the name.

Returns: java.lang.String

getProperties()

public PropertyCollection getProperties()

Gets the collection of all properties.

Returns: PropertyCollection

getProperty()

public Property getProperty()

Gets the property associated with the CurveMapping

Returns: Property

getProperty(String property)

public Object getProperty(String property)

Get the value of specified property

Parameters:

ParameterTypeDescription
propertyjava.lang.StringProperty name

Returns: java.lang.Object - The value of the found property

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

removeProperty(Property property)

public boolean removeProperty(Property property)

Removes a dynamic property.

Parameters:

ParameterTypeDescription
propertyPropertyWhich property to remove

Returns: boolean - true if the property is successfully removed

removeProperty(String property)

public boolean removeProperty(String property)

Remove the specified property identified by name

Parameters:

ParameterTypeDescription
propertyjava.lang.String

Returns: boolean

resetChannels()

public void resetChannels()

Empties the property channels of this animation curve mapping.

setName(String value)

public void setName(String value)

Sets the name.

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew value

setProperty(Property value)

public void setProperty(Property value)

Gets the property associated with the CurveMapping

Parameters:

ParameterTypeDescription
valuePropertyNew value

setProperty(String property, Object value)

public void setProperty(String property, Object value)

Sets the value of specified property

Parameters:

ParameterTypeDescription
propertyjava.lang.StringProperty name
valuejava.lang.ObjectThe value of the property

toString()

public String toString()

Formats object to string

Returns: java.lang.String - Object 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