ScriptInterface:LayerAsParticle(layer)

Version added: before 9.5

Converts a generic layer object into a particle layer

ArgumentTypeDescriptionDefaultVer
layerMohoLayerThe layer to cast< 9.5

Return type (ParticleLayer): a ParticleLayer object

Converts a generic layer object into a particle layer.
String "LayerAsParticle" is found in the following scripts:

FO_Utilities (by Lukas)