Struct RenderMesh
Render Mesh with Material (must be instanced material) by object to world matrix.
Specified by the LocalToWorld associated with Entity.
Syntax
[Serializable]
public struct RenderMesh : ISharedComponentData, IEquatable<RenderMesh>
Fields
castShadows
Declaration
public ShadowCastingMode castShadows
Field Value
Type |
Description |
ShadowCastingMode |
|
layer
Declaration
Field Value
Type |
Description |
System.Int32 |
|
material
Declaration
Field Value
Type |
Description |
Material |
|
mesh
Declaration
Field Value
receiveShadows
Declaration
public bool receiveShadows
Field Value
Type |
Description |
System.Boolean |
|
subMesh
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Methods
Equals(RenderMesh)
Declaration
public bool Equals(RenderMesh other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()