Component image 
Overlay Unlit Material component as seen in the Scene Inspector

The OverlayUnlitMaterial component is a material that is similar to a Component:UnlitMaterial except it renders differently when in front or behind an object.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
HighPriorityIntegration
|
Bool | If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes. |
_shader
|
Shader | Internal. |
BehindTintColor
|
ColorX | The color tint when the material is behind an object. |
FrontTintColor
|
ColorX | The color tint when the material is in front of an object. |
BehindTexture
|
ITexture2D | The texture to use when the material is behind an object. |
BehindTextureScale
|
Float2 | The UV scale of BehindTexture .
|
BehindTextureOffset
|
Float2 | The UV offset of BehindTexture .
|
FrontTexture
|
ITexture2D | The texture to use when the material is in front of an object. |
FrontTextureScale
|
Float2 | The UV scale of FrontTexture .
|
FrontTextureOffset
|
Float2 | The UV offset of FrontTexture .
|
BlendMode
|
BlendMode | How to blend this material's colors vs what it rendered on top of. |
AlphaCutoff
|
Float | If BlendMode is set to cutout, discard rendering of pixels for the surface that fall below this alpha threshold.
|
UseVertexColors
|
Bool | Whether the material should use vertex colors from the mesh. |
VertexColorInterpolationSpace
|
ColorProfile | How to interpolate vertex colors on the mesh. |
Sidedness
|
Sidedness | Render on both sides of the mesh, front, or back. |
ZWrite
|
ZWrite | whether this material should respect the distance it is from the camera. |
PolarUVmapping
|
Bool | Whether to use polar UV unwrapping. |
PolarPower
|
Float | The power of the polar UV unwrapping. |
OffsetFactor
|
Float | how much this material should be pushed forwards or backwards on the depth buffer factor wise |
OffsetUnits
|
Float | how much this material should be pushed forwards or backwards on the depth buffer unit wise |
RenderQueue
|
Int | changes at which point a material renders on the render stack |
Usage
Attach to a slot and put into the materials of a renderer like a Component:SkinnedMeshRenderer or a Component:MeshRenderer with a mesh to view what the material looks like.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.