#unity/日常积累 # Renderer class in UnityEngine / 继承自:[Component](https://docs.unity.cn/cn/2019.4/ScriptReference/Component.html) ## 描述 所有渲染器的常规功能。 渲染器是使对象显示在屏幕上的工具。使用该类可以访问任何对象、网格或粒子系统的渲染器。 可以禁用渲染器以使对象不可见(请参阅 [enabled](https://docs.unity.cn/cn/2019.4/ScriptReference/Renderer-enabled.html)),也可以通过渲染器 访问和修改材质(请参阅 [material](https://docs.unity.cn/cn/2019.4/ScriptReference/Renderer-material.html))。 See Also: Renderer components for [meshes](https://docs.unity.cn/cn/2019.4/Manual/class-MeshRenderer.html), [particles](https://docs.unity.cn/cn/2019.4/Manual/class-ParticleRenderer.html), [lines](https://docs.unity.cn/cn/2019.4/Manual/class-LineRenderer.html) and [trails](https://docs.unity.cn/cn/2019.4/Manual/class-TrailRenderer.html).