KeyframeSequence
Inheritance: java.lang.Object, com.aspose.threed.A3DObject
All Implemented Interfaces: java.lang.Iterable
public class KeyframeSequence extends A3DObject implements Iterable<KeyFrame>
La sequenza di fotogrammi chiave descrive la trasformazione di un valore campionato nel tempo.
Costruttori
| Costruttore | Descrizione |
|---|---|
| KeyframeSequence(String name) | Inizializza una nuova istanza della classe KeyframeSequence. |
| KeyframeSequence() | Inizializza una nuova istanza della classe KeyframeSequence. |
Metodi
| Metodo | Descrizione |
|---|---|
| add(double time, float value) | Crea un nuovo fotogramma chiave con valore specificato |
| add(double time, float value, Interpolation interpolation) | Crea un nuovo fotogramma chiave con valore specificato |
| equals(Object arg0) | |
| findProperty(String propertyName) | Trova la proprietà. |
| getBindPoint() | Ottiene il punto di associazione della proprietà che possiede questa curva |
| getClass() | |
| getKeyFrames() | Ottiene i fotogrammi chiave di questa curva. |
| getName() | Ottiene il nome. |
| getPostBehavior() | Ottiene il post behavior che indica quale dovrebbe essere il valore campionato dopo l’ultimo fotogramma chiave. |
| getPreBehavior() | Ottiene il pre behavior che indica quale dovrebbe essere il valore campionato prima del primo fotogramma chiave. |
| getProperties() | Ottiene la collezione di tutte le proprietà. |
| getProperty(String property) | Ottieni il valore della proprietà specificata |
| hashCode() | |
| iterator() | Ottiene l’enumeratore per attraversare tutti i fotogrammi chiave. |
| notify() | |
| notifyAll() | |
| removeProperty(Property property) | Rimuove una proprietà dinamica. |
| removeProperty(String property) | Rimuove la proprietà specificata identificata per nome |
| reset() | Rimuove tutti i fotogrammi chiave e reimposta i comportamenti post/pre. |
| setName(String value) | Imposta il nome. |
| setProperty(String property, Object value) | Imposta il valore della proprietà specificata |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
KeyframeSequence(String name)
public KeyframeSequence(String name)
Inizializza una nuova istanza della classe KeyframeSequence.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| nome | java.lang.String | Nome |
KeyframeSequence()
public KeyframeSequence()
Inizializza una nuova istanza della classe KeyframeSequence.
add(double time, float value)
public void add(double time, float value)
Crea un nuovo fotogramma chiave con valore specificato
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| tempo | double | Posizione temporale (misurata in secondi) |
| valore | float | Il valore a questa posizione temporale |
add(double time, float value, Interpolation interpolation)
public void add(double time, float value, Interpolation interpolation)
Crea un nuovo fotogramma chiave con valore specificato
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| tempo | double | Posizione temporale (misurata in secondi) |
| valore | float | Il valore a questa posizione temporale |
| interpolation | Interpolation | Il tipo di interpolazione di questo fotogramma chiave |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
findProperty(String propertyName)
public Property findProperty(String propertyName)
Trova la proprietà. Può essere una proprietà dinamica (creata con CreateDynamicProperty/SetProperty) o una proprietà nativa (identificata per nome).
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| propertyName | java.lang.String | Nome della proprietà. |
Returns: Property - The property.
getBindPoint()
public BindPoint getBindPoint()
Ottiene il punto di associazione della proprietà che possiede questa curva
Returns: BindPoint - the property bind point which owns this curve
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getKeyFrames()
public List<KeyFrame> getKeyFrames()
Ottiene i fotogrammi chiave di questa curva.
Returns: java.util.List<com.aspose.threed.KeyFrame> - i fotogrammi chiave di questa curva.
getName()
public String getName()
Ottiene il nome.
Returns: java.lang.String - il nome.
getPostBehavior()
public Extrapolation getPostBehavior()
Ottiene il post behavior che indica quale dovrebbe essere il valore campionato dopo l’ultimo fotogramma chiave.
Returns: Extrapolation - the post behavior indicates what the sampled value should be after the last key frame.
getPreBehavior()
public Extrapolation getPreBehavior()
Ottiene il pre behavior che indica quale dovrebbe essere il valore campionato prima del primo fotogramma chiave.
Returns: Extrapolation - the pre behavior indicates what the sampled value should be before the first key.
getProperties()
public PropertyCollection getProperties()
Ottiene la collezione di tutte le proprietà.
Returns: PropertyCollection - the collection of all properties.
getProperty(String property)
public Object getProperty(String property)
Ottieni il valore della proprietà specificata
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| proprietà | java.lang.String | Nome della proprietà |
Returns: java.lang.Object - Il valore della proprietà trovata
hashCode()
public native int hashCode()
Returns: int
iterator()
public Iterator<KeyFrame> iterator()
Ottiene l’enumeratore per attraversare tutti i fotogrammi chiave.
Returns: java.util.Iterator<com.aspose.threed.KeyFrame>
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeProperty(Property property)
public boolean removeProperty(Property property)
Rimuove una proprietà dinamica.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| property | Property | Quale proprietà rimuovere |
Returns: boolean - true se la proprietà è stata rimossa con successo
removeProperty(String property)
public boolean removeProperty(String property)
Rimuove la proprietà specificata identificata per nome
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| proprietà | java.lang.String | Quale proprietà rimuovere |
Returns: boolean - true se la proprietà è stata rimossa con successo
reset()
public void reset()
Rimuove tutti i fotogrammi chiave e reimposta i comportamenti post/pre.
setName(String value)
public void setName(String value)
Imposta il nome.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | java.lang.String | Nuovo valore |
setProperty(String property, Object value)
public void setProperty(String property, Object value)
Imposta il valore della proprietà specificata
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| proprietà | java.lang.String | Nome della proprietà |
| valore | java.lang.Object | Il valore della proprietà |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long | |
| arg1 | int |