Class GazeIndicator
GazeIndicator.
Inheritance
GazeIndicator
Implements
Inherited Members
Namespace: Evergine.Components.Toolkit
Assembly: Evergine.Components.dll
Syntax
public class GazeIndicator : Component, IDependencyObject
Fields
Indicator
The indicator entity.
Declaration
public Entity Indicator
Field Value
Type | Description |
---|---|
Entity |
gazeBehavior
The gaze behavior.
Declaration
[BindComponent(true, true, BindComponentSource.Owner, null, true)]
protected GazeBehavior gazeBehavior
Field Value
Type | Description |
---|---|
GazeBehavior |
Properties
RadialOffset
Gets or sets radialOffset.
Declaration
[RenderProperty(Tooltip = "Radial offset distance between cursor and indicator.")]
public float RadialOffset { get; set; }
Property Value
Type | Description |
---|---|
float |
RadialVisibilityDistance
Gets or sets radialVisibilityDistance.
Declaration
public float RadialVisibilityDistance { get; set; }
Property Value
Type | Description |
---|---|
float |
TargetPoint
Gets or sets targetPoint.
Declaration
[RenderProperty(Tooltip = "A single 3D point to follow")]
public Vector3 TargetPoint { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
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
UpdateIndicator(Vector3, Vector3)
Update Indicator method.
Declaration
public void UpdateIndicator(Vector3 cursorPosition, Vector3 cursorScale)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | cursorPosition | cursorPosition. |
Vector3 | cursorScale | cursorScale. |