SceneManager:CastFindMORay

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
Beautifybot (Talk | contribs)
(updating function page)

Latest revision as of 00:48, 28 June 2012

Function
SyntaxCastFindMORay( * The starting position.
  • The vector to trace along.
  • An MOID to find. Any child MO's of this MOID will also be found. ------------ ???
  • A reference to the vector screen will be filled out with the absolute location of the found MO pixel of the above MOID.
  • A specific material ID to ignore hits with.
  • Whether to ignore all terrain hits or not.
  • For every pixel checked along the line, how many to skip between them for optimization reasons. 0 = every pixel is checked. )
Description:
Traces along a vector and shows where a specific MOID has been found.
ReturnsWhether the target MOID was found along the ray or not.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools