Struct RenderMesh
Defines the mesh and rendering properties of an entity during baking.
Namespace: Unity.Rendering
Assembly: solution.dll
Syntax
[Serializable]
[MaximumChunkCapacity(128)]
[TemporaryBakingType]
public struct RenderMesh : ISharedComponentData, IQueryTypeParameter
Constructors
Name | Description |
---|---|
Render |
Constructs a RenderMesh using the given Renderer, Mesh, optional list of shared Materials, and option sub-mesh index. |
Fields
Name | Description |
---|---|
materials | The material list. |
mesh | A reference to a UnityEngine.Mesh object. |
sub |
The submesh index. |
Properties
Name | Description |
---|---|
material | A reference to a UnityEngine.Material object. |
Methods
Name | Description |
---|---|
Equals(Render |
Two RenderMesh objects are equal if their respective property values are equal. |
Get |
A representative hash code. |