Search Results for

    Show / Hide Table of Contents

    Struct HitResult3D

    Hit result 3D.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX