Decal API

editor.getDecalDataFilePath()



editor.createDecalTemplate()



editor.deleteDecalTemplate(template)



editor.getDecalTemplates()



editor.hasDirtyDecalTemplates()



editor.addDecalInstance(pos, normal, rotAroundNormal, template, decalScale, decalTexIndex, flags, initialAlpha)



editor.addDecalInstanceWithTan(pos, normal, tangent, template, decalScale, decalTexIndex, flags, initialAlpha)



editor.addDecalInstanceWithTanForceId(pos, normal, tangent, template, decalScale, decalTexIndex, flags, initialAlpha, index)



editor.getDecalInstance(index)



editor.getDecalInstanceVecSize()



editor.deleteDecalInstance(instance)



editor.getClosestDecal(pos)



editor.notifyDecalModified(instance)



editor.isDecalDirty(decal)



editor.saveDecal(template)



editor.saveDecals()



Last modified: 7 December 2021, at 14:30

Any further questions?

Join our discord