Background for Skyrim SE
Member of the PO3_SKSEFunctions script
stringfunctionGetSurfaceMaterialType(floatafX, floatafY, floatafZ)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Gets the material name of the current surface (land texture) at point
  • See Object Reference for material type list

Caveats


Parameters

floatafX

floatafY

floatafZ


Examples

Auto-Generated Example

float myFloat__afX
float myFloat__afY
float myFloat__afZ

string returnedValue = PO3_SKSEFunctions.GetSurfaceMaterialType(myFloat__afX, myFloat__afY, myFloat__afZ)

Additional References

View this function on the GitHub Wiki for powerofthree's Papyrus Extender

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.