s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Common Structs
Ray
chevron_left Common Structs
struct
Ray

Constructors

functionsRay

Properties

data_objectForwarddata_objectPosition

Methods

functionsProjectfunctionsToLocalfunctionsToWorld
Ray
A struct describing an origin and direction
struct
sealedSandbox.System

build Constructors 1

Ray (origin, direction)

data_object Properties 2

Forward
Vector3
Direction of the ray.
Position
Vector3
Origin of the ray.

functions Methods 3

Project (distance)
Vector3
Returns a point on the ray at given distance.
ToLocal (tx)
Ray
Convert a ray to be local to this transform
ToWorld (tx)
Ray
Convert a ray from being local to this transform
arrow_back_ios1arrow_forward_ios
trophy 345
Aug 2022 3 posts
Anthony 8 months ago
#1
14 1
arrow_back_ios1arrow_forward_ios
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter