Struct HitResult3D
Hit result 3D.
Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public struct HitResult3D
  Fields
Collider
The collider shape.
Declaration
public IColliderShape3D Collider
  Field Value
| Type | Description | 
|---|---|
| IColliderShape3D | 
HitFraction
The fraction.
Declaration
public float HitFraction
  Field Value
| Type | Description | 
|---|---|
| float | 
Normal
The normal of the ray hit.
Declaration
public Vector3 Normal
  Field Value
| Type | Description | 
|---|---|
| Vector3 | 
PhysicBody
The physic body.
Declaration
public IPhysicBody3D PhysicBody
  Field Value
| Type | Description | 
|---|---|
| IPhysicBody3D | 
Point
The point of the ray.
Declaration
public Vector3 Point
  Field Value
| Type | Description | 
|---|---|
| Vector3 | 
Succeeded
True if this hit occurs.
Declaration
public bool Succeeded
  Field Value
| Type | Description | 
|---|---|
| bool | 
TriangleIndex
Triangle index in case of Mesh Collider.
Declaration
public int TriangleIndex
  Field Value
| Type | Description | 
|---|---|
| int |