Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    NavigationRaycastResult Struct

    Namespace: Stride.Navigation
    Assembly: Stride.Navigation.dll

    Result for a raycast query on a navigation mesh

    public struct NavigationRaycastResult
    Name Description
    Fields
    Hit

    true if the raycast hit something

    Normal

    Normal of the non-walkable area boundary that was hit

    Position

    Position where the ray hit a non-walkable area boundary

    | Improve this Doc View Source

    Fields


    Hit

    true if the raycast hit something

    public bool Hit
    Field Value
    Type Description
    System.Boolean

    Normal

    Normal of the non-walkable area boundary that was hit

    public Vector3 Normal
    Field Value
    Type Description
    Vector3

    Position

    Position where the ray hit a non-walkable area boundary

    public Vector3 Position
    Field Value
    Type Description
    Vector3

    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation