public class CameraTracker extends FeatureModel implements Refreshable
Constructor and Description |
---|
CameraTracker()
Create tracker.
|
Modifier and Type | Method and Description |
---|---|
void |
prepare(FeatureProvider provider,
Services services)
Prepare the feature.
|
void |
track(Featurable featurable)
Track the specified featurable.
|
void |
track(Localizable localizable)
Track the specified localizable.
|
void |
update(double extrp) |
checkListener, getFeature, getFeatures, getFeaturesType, hasFeature
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkListener
getFeature, getFeatures, getFeaturesType, hasFeature
public void track(Localizable localizable)
localizable
- The localizable to track.public void track(Featurable featurable)
The Featurable
must have:
featurable
- The featurable to follow, null
to stop follow.LionEngineException
- If missing feature.public void prepare(FeatureProvider provider, Services services)
Feature
Services
are required.prepare
in interface Feature
prepare
in class FeatureModel
provider
- The owner reference.services
- The services reference.Copyright © 2016 Byron 3D Games Studio. All rights reserved.