Class RenderMeshUtility
Helper class that contains static methods for populating entities so that they are compatible with the Entities Graphics package.
Namespace: Unity.Rendering
Assembly: solution.dll
Syntax
public static class RenderMeshUtility
Methods
Name | Description |
---|---|
AddComponents(Entity, EntityManager, in RenderMeshDescription, MaterialMeshInfo) | Set the Entities Graphics component values to render the given entity using the given description. Any missing components will be added, which results in structural changes. |
AddComponents(Entity, EntityManager, in RenderMeshDescription, RenderMeshArray, MaterialMeshInfo) | Set the Entities Graphics component values to render the given entity using the given description. Any missing components will be added, which results in structural changes. |