C++ Java Unity
Unity Reference
AreaTargetBehaviour Class Reference
Inheritance diagram for AreaTargetBehaviour:
DataSetTrackableBehaviour TrackableBehaviour WorldCenterTrackableBehaviour VuforiaMonoBehaviour

Public Member Functions

bool SetExternalPosition (Vector2 position, float radius)
 Set approximate position within the target from an external localization source. More...
 
- Public Member Functions inherited from TrackableBehaviour
virtual void OnFrameIndexUpdate (int newFrameIndex)
 Is triggered by the StateManager after each render frame More...
 
virtual void OnTrackerUpdate (Status newStatus, StatusInfo newStatusInfo)
 Is triggered by the TrackerBehavior after it has updated. More...
 
void RegisterOnTrackableStatusChanged (Action< StatusChangeResult > onTrackableStatusChangedAction)
 Subscribe a method to be called when the Status of the TrackableBehaviour changes.

Parameters
onTrackableStatusChangedActionAction to be registered.
More...
 
void RegisterOnTrackableStatusInfoChanged (Action< StatusInfoChangeResult > onTrackableStatusChangedAction)
 Subscribe a method to be called when the StatusInfo of the TrackableBehaviour changes. More...
 
bool UnregisterOnTrackableStatusChanged (Action< StatusChangeResult > onTrackableStatusChangedAction)
 Unsubscribe a method from being called when the Status of the TrackableBehaviour changes More...
 
void UnregisterOnTrackableStatusInfoChanged (Action< StatusInfoChangeResult > onTrackableStatusChangedAction)
 Unsubscribe a method from being called when the StatusInfo of the TrackableBehaviour changes More...
 

Properties

AreaTarget AreaTarget [get]
 The AreaTarget that this AreaTargetBehaviour augments More...
 
OrientedBoundingBox3D BoundingBox [get]
 Returns the bounding box of the target (in 3D scene units). More...
 
Vector3 Size [get]
 Get the size (width, height, length) of the Area Target More...
 
- Properties inherited from TrackableBehaviour
Status CurrentStatus [get]
 The tracking status of the TrackableBehaviour More...
 
StatusInfo CurrentStatusInfo [get]
 Information on the tracking status. Gives the primary reason about the problem with tracking (STATUS::NO_POSE or STATUS::LIMITED). More...
 
virtual Trackable Trackable [get]
 The Trackable created at runtime that is augmented by this TrackableBehaviour More...
 
string TrackableName [get]
 The name of the Trackable. More...
 
- Properties inherited from WorldCenterTrackableBehaviour
Trackable Trackable [get]
 The Trackable created at runtime that is augmented by this TrackableBehaviour More...
 

Additional Inherited Members

- Public Types inherited from TrackableBehaviour
enum  Status {
  NO_POSE = 0,
  LIMITED = 1,
  DETECTED = 2,
  TRACKED = 3,
  EXTENDED_TRACKED = 4
}
 The tracking status of the TrackableBehaviour. More...
 
enum  StatusInfo {
  NORMAL = 0,
  UNKNOWN = 1,
  INITIALIZING = 2,
  RELOCALIZING = 3,
  EXCESSIVE_MOTION = 4,
  INSUFFICIENT_FEATURES = 5,
  INSUFFICIENT_LIGHT = 6,
  NO_DETECTION_RECOMMENDING_GUIDANCE = 7
}
 Information on the tracking status. Gives the primary reason about the problem with tracking (STATUS::NO_POSE or STATUS::LIMITED). More...
 

Member Function Documentation

bool SetExternalPosition ( Vector2  position,
float  radius 
)

Set approximate position within the target from an external localization source.

Parameters
positionPosition (x, z) in target coordinate system (which is y-up)
radiusUncertainty of the position in meters. Must be positive
Returns
true on success, false on failure

Property Documentation

OrientedBoundingBox3D BoundingBox
get

Returns the bounding box of the target (in 3D scene units).

Vector3 Size
get

Get the size (width, height, length) of the Area Target

Returns