SceneManager:SnapPosition

From Data Realms Wiki

Jump to: navigation, search
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