Class EyeGazeBehavior
Track a spatial anchor.
Inheritance
DependencyObject
AttachableObject
PrefabInstanceObject
Component
Behavior
EyeGazeBehavior
Implements
Inherited Members
Behavior.Family
Behavior.UpdateOrder
Behavior.OnDetach()
Component.Owner
Component.Managers
Component.ShouldBeActivated
Component.Clone()
Component.Attach(Entity)
Component.OnLoaded()
Component.OnActivated()
Component.Start()
Component.OnDeactivated()
Component.OnDestroy()
PrefabInstanceObject.PrefabSource
PrefabInstanceObject.PrefabElementId
PrefabInstanceObject.IsPrefabInstance
PrefabInstanceObject.IsMissingPrefabSource
AttachableObject.AttachableStateChanged
AttachableObject.IsEnabled
AttachableObject.State
AttachableObject.IsLoaded
AttachableObject.IsAttached
AttachableObject.IsActivated
AttachableObject.IsStarted
AttachableObject.IsDestroyed
AttachableObject.Destroy()
AttachableObject.DependencyBroken()
DependencyObject.Dependencies
DependencyObject.OnDependencyRemoved
Namespace: Evergine.Components.XR
Assembly: Evergine.Components.dll
Syntax
public class EyeGazeBehavior : Behavior, IDependencyObject
Constructors
EyeGazeBehavior()
Initializes a new instance of the EyeGazeBehavior class.
Declaration
public EyeGazeBehavior()
Fields
xrPlatform
XReality Platform.
Declaration
[BindService(true)]
protected XRPlatform xrPlatform
Field Value
Type | Description |
---|---|
XRPlatform |
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
Evergine.Framework.Behavior.OnAttached()
Update(TimeSpan)
Allows this instance to execute custom logic during its Update
.
Declaration
protected override void Update(TimeSpan gameTime)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | gameTime | The game time. |
Overrides
Remarks
This method will not be executed if the Evergine.Framework.Component, or the Evergine.Framework.Entity
owning it are not Active
.