SceneManager:GetTerrMatter

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxGetTerrMatter( * The X and Y coordinates of screen material pixel to get. )
Description:
Gets a specific pixel from the total material representation of this Scene. LockScene() must be called before using this method.
ReturnsAn unsigned char specifying the requested pixel's material index.




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