Package com.jme3.animation
Class TrackInfo
java.lang.Object
com.jme3.animation.TrackInfo
- All Implemented Interfaces:
- Savable,- JmeCloneable,- Cloneable
Deprecated.
This class is intended as a UserData added to a Spatial that is referenced by a Track.
 (ParticleEmitter for EffectTrack and AudioNode for AudioTrack)
 It holds the list of tracks that are directly referencing the Spatial.
 This is used when loading a Track to find the cloned reference of a Spatial in the cloned model returned by the assetManager.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidDeprecated.voidcloneFields(Cloner cloner, Object original) Deprecated.Implemented to perform deep cloning for this object, resolving local cloned references using the specified cloner.Deprecated.jmeClone()Deprecated.Performs a regular shallow clone of the object.voidread(JmeImporter im) Deprecated.voidwrite(JmeExporter ex) Deprecated.
- 
Constructor Details- 
TrackInfopublic TrackInfo()Deprecated.
 
- 
- 
Method Details- 
writeDeprecated.- Specified by:
- writein interface- Savable
- Throws:
- IOException
 
- 
readDeprecated.- Specified by:
- readin interface- Savable
- Throws:
- IOException
 
- 
getTracksDeprecated.
- 
addTrackDeprecated.
- 
jmeCloneDeprecated.Description copied from interface:JmeCloneablePerforms a regular shallow clone of the object. Some fields may also be cloned but generally only if they will never be shared with other objects. (For example, local Vector3fs and so on.)This method is separate from the regular clone() method so that objects might still maintain their own regular java clone() semantics (perhaps even using Cloner for those methods). However, because Java's clone() has specific features in the sense of Object's clone() implementation, it's usually best to have some path for subclasses to bypass the public clone() method that might be cloning fields and instead get at the superclass protected clone() methods. For example, through super.jmeClone() or another protected clone method that some base class eventually calls super.clone() in. - Specified by:
- jmeClonein interface- JmeCloneable
- Returns:
- a new instance
 
- 
cloneFieldsDeprecated.Description copied from interface:JmeCloneableImplemented to perform deep cloning for this object, resolving local cloned references using the specified cloner. The object can call cloner.clone(fieldValue) to deep clone any of its fields.Note: during normal clone operations the original object will not be needed as the clone has already had all of the fields shallow copied. - Specified by:
- cloneFieldsin interface- JmeCloneable
- Parameters:
- cloner- The cloner that is performing the cloning operation. The cloneFields method can call back into the cloner to make clones of its subordinate fields.
- original- The original object from which this object was cloned. This is provided for the very rare case that this object needs to refer to its original for some reason. In general, all of the relevant values should have been transferred during the shallow clone, and this object need only clone what it wants.
 
 
-