Mesh Renderer Component: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
mNo edit summary
m (Added category)
Line 22: Line 22:
| '''Materials''' || A list of materials to draw the mesh with.
| '''Materials''' || A list of materials to draw the mesh with.
|}
|}
[[Category:Rendering Components]]
[[Category:Components]]

Revision as of 03:43, 25 October 2022

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.