SceneManager:MovePointToGround

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
SyntaxMovePointToGround( * The point to start from. Should be in the air, or the same point will be returned (null operation)
  • The max altitude in px you want the point to be above the ground.
  • The accuracy within screen measurement is acceptable. Higher number here means less calculation. )
Description:
Takes an arbitrary point in the air and calculates it to be straight down at a certain maximum distance from the ground.
ReturnsThe new point screen is no higher than accuracy + max altitude over the terrain.




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