MaterialOverrides Class |
Namespace: GeonBit.Core.Graphics
public class MaterialOverrides
The MaterialOverrides type exposes the following members.
Name | Description | |
---|---|---|
MaterialOverrides | Initializes a new instance of the MaterialOverrides class |
Name | Description | |
---|---|---|
Alpha |
Override Alpha value for this specific entity.
Note: will affect all parts of the model.
| |
DiffuseColor |
Override diffuse color for this specific entity.
Note: will affect all parts of the model.
| |
SpecularColor |
Override specular color for this specific entity.
Note: will affect all parts of the model.
| |
Texture |
Override material texture for this specific entity.
Note: will affect all parts of the model.
| |
UsingOverrideProperties |
If true will use the override per-entity properties.
|
Name | Description | |
---|---|---|
Apply |
Apply all custom render properties on a given material, and return either the given material or a clone of it, if needed.
This will not do anything if there are no custom properties currently used.
| |
Clone |
Clone custom render settings.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |