SceneManager:SnapPosition

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
SyntaxSnapPosition( * The vector coordinates of the position to snap.
  • Whether to actually snap or not. This is useful for cleaner toggle code. )
Description:
Returns a position snapped to the current scene grid.
ReturnsThe new snapped position.




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