Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 830 Bytes

File metadata and controls

19 lines (11 loc) · 830 Bytes

RenderMeshUtilityExample

This sample demonstrates the new RenderMeshUtility.AddComponents API and how to do color setting via runtime created materials and material property setting.

What does it show?

The AddComponentsExample script shows how to use RenderMeshUtility.AddComponents to create a base entity and then instantiate that entity many times in a Burst job.

How to use this sample scene?

  1. In the Hierarchy, select Spawner
  2. In the Inspector, configure settings
  3. Hit play

More information

For more information about RenderMeshUtility and run time entity creation, see the Runtime entity creation documentation.