|Mesh|{{RootFieldType|AssetRef`1|[[Type:Mesh|Mesh]]}}|TypeAdv0=true| The mesh to be rendered. Can be a [[StaticMesh (Component)|StaticMesh]] or a [[:Category:Components:Assets:Procedural Meshes|Procedural Mesh]]
|Mesh|{{RootFieldType|AssetRef`1|[[Type:Mesh|Mesh]]}}|TypeAdv0=true| The mesh to be rendered. Can be a [[StaticMesh (Component)|StaticMesh]] or a [[:Category:Components:Assets:Procedural Meshes|Procedural Mesh]]
Line 49:
Line 49:
}}
}}
== Behavior ==
== Usage ==
<!--T:3-->
<!--T:3-->
While it ''can'' be used for rendering static meshes, it is '''not recommended''' as there is a slight performance penalty for using SkinnedMeshRenderer, even if the animation features aren't used — Please try to use [[MeshRenderer (Component)| MeshRenderer]] where possible.
While it ''can'' be used for rendering static meshes, it is '''not recommended''' as there is a slight performance penalty for using SkinnedMeshRenderer, even if the animation features aren't used — Please try to use [[MeshRenderer (Component)| MeshRenderer]] where possible.
Latest revision as of 15:56, 12 April 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
SkinnedMeshRenderer component as seen in the Scene Inspector
The SkinnedMeshRenderer component is used for rendering animated/dynamic 3D meshes in the world, and applying materials to that mesh.
A list of material property blocks to apply to the materials on this mesh. Usually used for performance reasons where using multiple similar materials would take more resources.
Will merge all submeshes that use the same material
Usage
While it can be used for rendering static meshes, it is not recommended as there is a slight performance penalty for using SkinnedMeshRenderer, even if the animation features aren't used — Please try to use MeshRenderer where possible.