NavigationRaycastResult Struct
Namespace: Stride.NavigationAssembly: 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 |
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()