SceneManager:CastMORay
From Data Realms Wiki
(Difference between revisions)
Latest revision as of 00:48, 28 June 2012
Function | |
---|---|
Syntax | CastMORay( * The starting position.
|
Description: | |
Traces along a vector and returns MOID of the first non-ignored non-NoMOID MO encountered. If a non-air terrain pixel is encountered first, g_NoMOID will be returned. | |
Returns | The MOID of the hit non-ignored MO, or g_NoMOID if terrain or no MO was hit. |
Example | |
---|---|
Description | Placeholder! |
Code |
|
Output | Placeholder! |