SceneManager:CastMORay
From Data Realms Wiki
Revision as of 00:48, 28 June 2012 by Beautifybot (Talk | contribs)
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! |