Table of Contents

Struct Ray

Namespace
TaleWorlds.Library
Assembly
TaleWorlds.Library.dll
public struct Ray
Inherited Members
Extension Methods

Constructors

Ray(Vec3, Vec3, bool)

public Ray(Vec3 origin, Vec3 direction, bool useDirectionLenForMaxDistance)

Parameters

origin Vec3
direction Vec3
useDirectionLenForMaxDistance bool

Ray(Vec3, Vec3, float)

public Ray(Vec3 origin, Vec3 direction, float maxDistance = 3.4028235E+38)

Parameters

origin Vec3
direction Vec3
maxDistance float

Properties

Direction

public Vec3 Direction { get; }

Property Value

Vec3

EndPoint

public Vec3 EndPoint { get; }

Property Value

Vec3

MaxDistance

public float MaxDistance { get; }

Property Value

float

Origin

public Vec3 Origin { get; }

Property Value

Vec3

Methods

Reset(Vec3, Vec3, float)

public void Reset(Vec3 origin, Vec3 direction, float maxDistance = 3.4028235E+38)

Parameters

origin Vec3
direction Vec3
maxDistance float

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).