Struct MaterialOverrideAsset.OverrideData
Represents a data container of material override properties.
Namespace: Global Namespace
Assembly: Unity.Entities.Graphics.dll
Syntax
[Serializable]
public struct MaterialOverrideAsset.OverrideData
Fields
displayName
The display name of the material property.
Declaration
public string displayName
Field Value
Type | Description |
---|---|
string |
instanceOverride
Instance override.
Declaration
public bool instanceOverride
Field Value
Type | Description |
---|---|
bool |
materialName
The name of the material.
Declaration
public string materialName
Field Value
Type | Description |
---|---|
string |
name
The in-shader name of the material property.
Declaration
public string name
Field Value
Type | Description |
---|---|
string |
shaderName
The name of the shader.
Declaration
public string shaderName
Field Value
Type | Description |
---|---|
string |
type
The type of the shader property.
Declaration
public ShaderPropertyType type
Field Value
Type | Description |
---|---|
Shader |
value
The override value of the material property.
Declaration
public Vector4 value
Field Value
Type | Description |
---|---|
Vector4 |