Skip to main content

RayDirection

Complete API reference for RayDirection, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Laser

Component: no


public class RayDirection

Constructors

SignatureDescription
RayDirection(RayDirection)Executes RayDirection and returns after the underlying engine call finishes.
RayDirection()Executes RayDirection and returns after the underlying engine call finishes.
RayDirection(Vector3, Vector3)Creates a new instance of RayDirection.

Attributes

NameTypeDescription
rayDirectionRayDirectionRepresents the rayDirection value stored on this instance. Read or assign to update the property.

Methods

SignatureReturnsDescription
getOrigin()Vector3Returns the origin position of this RayDirection.
setOrigin(Vector3)voidSets the origin position of this RayDirection.
getDirection()Vector3Returns the direction of this RayDirection.
setDirection(Vector3)voidSets the direction of this RayDirection.