Search Results for

    Show / Hide Table of Contents

    Class GazeCollision

    GazeCollision.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    GazeCollision
    Implements
    IDependencyObject
    Inherited Members
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnAttached()
    Component.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    Component.OnDetach()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    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
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Components.Toolkit
    Assembly: Evergine.Components.dll
    Syntax
    public class GazeCollision : Component, IDependencyObject

    Fields

    gazeBehavior

    Gaze behavior.

    Declaration
    [BindComponent(true, true, BindComponentSource.Owner, null, true)]
    protected GazeBehavior gazeBehavior
    Field Value
    Type Description
    GazeBehavior

    Properties

    NormalAligned

    Gets or sets a value indicating whether normal is aligned.

    Declaration
    [RenderProperty(Tooltip = "Indicate whether cursor will be aligned with the surfaces or no in otherwise")]
    public bool NormalAligned { get; set; }
    Property Value
    Type Description
    bool

    SurfaceOffset

    Gets or sets surfaceOffset.

    Declaration
    [RenderProperty(Tooltip = "Offset value in meters between the surface and cursor")]
    public float SurfaceOffset { get; set; }
    Property Value
    Type Description
    float

    Methods

    CheckCursorCollision(ref Ray, float, out CursorHit)

    Checks cursor collision.

    Declaration
    public bool CheckCursorCollision(ref Ray ray, float rayDistance, out GazeCollision.CursorHit cursorHit)
    Parameters
    Type Name Description
    Ray ray

    Ray cast.

    float rayDistance

    The ray distance to test.

    GazeCollision.CursorHit cursorHit

    The cursor hit structure.

    Returns
    Type Description
    bool

    True if there is a collision with an object.

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX