Mesh Renderer Component

From Pummel Party Mod Documentation
Revision as of 23:55, 24 October 2022 by RBDev (talk | contribs)
Jump to navigation Jump to search

The mesh renderer is a rendering component that renders a 3D mesh in the scene. It can render both built-in and custom Mesh Assets

Component Settings

Property Description
Cast Shadows Should shadows be cast from the Mesh.
Off The mesh will not cast any shadows.
On The mesh will cast shadows.
Two Sided The mesh will cast shadows. It will cast shadows from both sides of each polygon that makes up the visible model.
Shadows Only Only the shadows cast by the mesh will be visible. The mesh will not be visible.
Receive Shadows Should the shadows of other objects be cast onto this mesh.
Mesh The mesh or prop asset to be drawn by the renderer.
Materials A list of materials to draw the mesh with.