Revision Difference
Entity:RemoveAllDecals#568499
<function name="RemoveAllDecals" parent="Entity" type="classfunc">
<description>Removes all decals from the entities surface.</description>⤶
<description>Removes all decals from all surfaces of the given entity.⤶
⤶
If you are looking to remove specific map decals, see <page>util.RemoveDecalsAt</page>.⤶
</description>⤶
<realm>Shared</realm>
</function>
<example>
<description>Removes all decals from all props in world.</description>
<code>
for i, ent in ipairs( ents.FindByClass( "prop_physics" ) ) do
ent:RemoveAllDecals()
end
</code>
</example>
Garry's Mod
Rust
Steamworks
Wiki Help