MovableObject:GetAltitude

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxGetAltitude( * The max altitude you care to check for. 0 Means check the whole scene's height.
  • The accuracy within which measurement is acceptable. Higher number here means less calculation. )
Description:
Gets the altitide of this' pos (or appropriate low point) over the terrain, in pixels.
ReturnsThe rough altitude over the terrain, in pixels.




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