This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Wireframe material is a material that can be used to see the edges of the polygons in a mesh. This does not show the polygons of a text renderer.
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. |
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. |
Thickness
|
Float | the thickness of the lines in the polygons |
ScreenSpace
|
Bool | whether the thickness should stay constant in width on the screen regardless of distance |
LineColor
|
ColorX | the color of this material's lines |
FillColor
|
ColorX | the color that should fill the center of each polygon. |
InnerLineColor
|
ColorX | |
InnerFillColor
|
ColorX | |
UseFresnel
|
Bool | |
LineFarColor
|
ColorX | what the color of the lines should be when this material is rendered further away zbuffer wise. |
FillFarColor
|
ColorX | |
InnerLineFarColor
|
ColorX | |
InnerFillFarColor
|
ColorX | |
Exp
|
Float | |
Texture
|
ITexture2D | |
ZWrite
|
ZWrite | whether this material should respect the distance it is from the camera. |
DoubleSided
|
Bool | |
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 | |
_regular
|
Shader | |
_regularDoubleSided
|
Shader |
Usage
This is useful for debugging or making retro scenes. Simply apply this material to any skinned or mesh renderer's material slot to see that material assignment render this material style.