Class GazeStabilizer
GazeStabilizer.
Inheritance
GazeStabilizer
Implements
Inherited Members
Namespace: Evergine.Components.Toolkit
Assembly: Evergine.Components.dll
Syntax
[DataContract]
public class GazeStabilizer : Component, IDependencyObject
Fields
gazeBehavior
Gaze behavior.
Declaration
[BindComponent(true, true, BindComponentSource.Owner, null, true)]
protected GazeBehavior gazeBehavior
Field Value
Type | Description |
---|---|
GazeBehavior |
Properties
StoredStabilitySamples
Gets or sets storedStabilitySamples.
Declaration
[DataMember]
[RenderPropertyAsInput(1, 120, Tooltip = "Number of samples that you want to iterate on.", AsSlider = true, DesiredChange = 1, DesiredLargeChange = 5, DefaultValue = 10)]
public int StoredStabilitySamples { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
UpdateSmoothCursorPosition(Vector3)
Update cursor.
Declaration
public Vector3 UpdateSmoothCursorPosition(Vector3 cursorPosition)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | cursorPosition | Cursor position. |
Returns
Type | Description |
---|---|
Vector3 | Smooth cursor position. |