Table of Contents

Struct Ray

Namespace
BasilEngine
Assembly
BasilEngine.dll
[Disabled]
public struct Ray
Inherited Members

Constructors

Ray(Vector3, Vector3)

Initializes a new Ray.

public Ray(Vector3 origin, Vector3 direction)

Parameters

origin Vector3

Ray origin.

direction Vector3

Ray direction.

Fields

direction

Direction vector of the ray (should be normalized).

public Vector3 direction

Field Value

Vector3

origin

Starting point of the ray in world space.

public Vector3 origin

Field Value

Vector3