Struct MeshInstanceRenderer
Render Mesh with Material (must be instanced material) by object to world matrix. Specified by TransformMatrix associated with Entity.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Unity.Rendering
Syntax
[Serializable]
public struct MeshInstanceRenderer : ISharedComponentData
Fields
castShadows
Declaration
public ShadowCastingMode castShadows
Field Value
| Type | Description |
|---|---|
| ShadowCastingMode |
material
Declaration
public Material material
Field Value
| Type | Description |
|---|---|
| Material |
mesh
Declaration
public Mesh mesh
Field Value
| Type | Description |
|---|---|
| Mesh |
receiveShadows
Declaration
public bool receiveShadows
Field Value
| Type | Description |
|---|---|
| System.Boolean |
subMesh
Declaration
public int subMesh
Field Value
| Type | Description |
|---|---|
| System.Int32 |