Ray

More information can be found in the Unity API Reference

Constructors

Constructor

Description

Ray()

Ray(origin, direction)

Members

Member

Description

direction

origin

Methods

Method

Description

GetPoint(distance)

ToString()

ToString(format)

Details

class Ray
Ray Ray(Vector3 origin, Vector3 direction)
Ray Ray()
Vector3 direction
Vector3 origin
Vector3 GetPoint(float distance)
string ToString()
string ToString(string format)