Table of Contents

Struct Rubikon.RayTraceContext

Namespace
ValveResourceFormat.Renderer
Assembly
Renderer.dll

Precomputed ray direction data for accelerated ray tracing.

public readonly struct Rubikon.RayTraceContext

Inherited Members

Constructors

RayTraceContext(Vector3, Vector3)

public RayTraceContext(Vector3 start, Vector3 end)

Parameters

start Vector3
end Vector3

Properties

Direction

public Vector3 Direction { get; }

Property Value

Vector3

EndPosition

public Vector3 EndPosition { get; }

Property Value

Vector3

InvDirection

public Vector3 InvDirection { get; }

Property Value

Vector3

Length

public float Length { get; }

Property Value

float

Origin

public Vector3 Origin { get; }

Property Value

Vector3