Class EyeGazeBehavior
Tracks a spatial anchor.
Inheritance
EyeGazeBehavior
Implements
Inherited Members
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 everything is OK. |
Overrides
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. |