Class VuforiaBehavior
A component that binds a generic Vuforia target with an entity.
Inheritance
VuforiaBehavior
  Implements
Inherited Members
Namespace: Evergine.Vuforia
Assembly: Evergine.Vuforia.dll
Syntax
public class VuforiaBehavior : Behavior, IDependencyObject
  Fields
Camera3D
The camera 3D.
Declaration
[BindComponent(true, true, BindComponentSource.Owner, null, true)]
protected Camera3D Camera3D
  Field Value
| Type | Description | 
|---|---|
| Camera3D | 
Transform
The camera 3D.
Declaration
[BindComponent(true, true, BindComponentSource.Owner, null, true)]
protected Transform3D Transform
  Field Value
| Type | Description | 
|---|---|
| Transform3D | 
WorldCenterMode
The world center mode.
Declaration
public WorldCenterMode WorldCenterMode
  Field Value
| Type | Description | 
|---|---|
| WorldCenterMode | 
graphicsContext
The vuforia service.
Declaration
[BindService(true)]
protected GraphicsContext graphicsContext
  Field Value
| Type | Description | 
|---|---|
| GraphicsContext | 
vuforiaService
The vuforia service.
Declaration
[BindService(true)]
protected VuforiaService vuforiaService
  Field Value
| Type | Description | 
|---|---|
| VuforiaService | 
Properties
Target
Gets or sets the Vuforia Target Behavior.
Declaration
public VuforiaTargetBehavior Target { get; set; }
  Property Value
| Type | Description | 
|---|---|
| VuforiaTargetBehavior | 
TrackableStatus
Gets the trackable status.
Declaration
public TrackableStatus TrackableStatus { get; }
  Property Value
| Type | Description | 
|---|---|
| TrackableStatus | 
Methods
OnActivated()
Invoked when the object is activated once is attached.
Declaration
protected override void OnActivated()
  Overrides
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
OnDeactivated()
Invoked when the object is deactivated.
Declaration
protected override void OnDeactivated()
  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.