Class VuforiaTargetBehavior
A component that binds a generic Vuforia target with an entity.
Inheritance
Implements
Inherited Members
Namespace: Evergine.Vuforia
Assembly: Evergine.Vuforia.dll
Syntax
public abstract class VuforiaTargetBehavior : Behavior, IDependencyObject
  Constructors
VuforiaTargetBehavior()
Initializes a new instance of the VuforiaTargetBehavior class.
Declaration
public VuforiaTargetBehavior()
  Fields
vuforiaService
The vuforia service.
Declaration
[BindService(true)]
protected VuforiaService vuforiaService
  Field Value
| Type | Description | 
|---|---|
| VuforiaService | 
Properties
AvailableTrackables
Gets enumerable that contains the names of the trackables described by the dataset.
Declaration
public abstract IEnumerable<string> AvailableTrackables { get; }
  Property Value
| Type | Description | 
|---|---|
| IEnumerable<string> | 
IsStatic
Gets or sets a value indicating whether the entity pose will only be set the first time the target is tracked. This is only used when Device tracking mode is active."/>.
Declaration
[RenderProperty(CustomPropertyName = "Is Static", Tooltip = "Indicates whether the entity pose will only be set the first time the target is tracked. This is only used when 'WorldCenterMode.Camera' tracking mode is active")]
public bool IsStatic { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
  | 
      
TargetName
Gets or sets the trackable name that match with this entity.
Declaration
public string TargetName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
TrackableResult
Gets the current trackable result.
Declaration
public TrackableResult TrackableResult { get; }
  Property Value
| Type | Description | 
|---|---|
| TrackableResult | 
TrackableStatus
Gets the trackable status.
Declaration
public TrackableStatus TrackableStatus { get; }
  Property Value
| Type | Description | 
|---|---|
| TrackableStatus | 
Methods
OnAttached()
Invoked when the object is attached to the system.
Declaration
protected override bool OnAttached()
  Returns
| Type | Description | 
|---|---|
| bool | True if all is OK.  | 
      
Overrides
OnDetach()
Invoked when the object is detached.
Declaration
protected override void OnDetach()
  Overrides
Update(TimeSpan)
Updates this instance.
Declaration
protected override void Update(TimeSpan gameTime)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TimeSpan | gameTime | The game time.  | 
      
Overrides
Remarks
This is only executed if the instance is active.