Table of Contents

Class Ray

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll
public class Ray
Inheritance
Ray
Inherited Members

Constructors

Ray()

public Ray()

Ray(Vec3d, Vec3d)

public Ray(Vec3d o, Vec3d d)

Parameters

o Vec3d
d Vec3d

Fields

dir

public Vec3d dir

Field Value

Vec3d

origin

public Vec3d origin

Field Value

Vec3d

Properties

Length

public double Length { get; }

Property Value

double

Methods

LimitToWalls(int, int, int, int, int, int)

public void LimitToWalls(int minx, int miny, int minz, int maxx, int maxy, int maxz)

Parameters

minx int
miny int
minz int
maxx int
maxy int
maxz int