m ProbablePrime moved page WireframeMaterial (Component) to Component:WireframeMaterial: Creating component Namespace |
Automated: update 'HighPriorityIntegration' description |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
|Name=Wireframe Material | |Name=Wireframe Material | ||
}} | }} | ||
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. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|HighPriorityIntegration|Bool| | |HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | ||
|Thickness|Float| | |Thickness|Float| the thickness of the lines in the polygons | ||
|ScreenSpace|Bool| | |ScreenSpace|Bool| whether the thickness should stay constant in width on the screen regardless of distance | ||
|LineColor| | |LineColor|ColorX| the color of this material's lines | ||
|FillColor| | |FillColor|ColorX| the color that should fill the center of each polygon. | ||
|InnerLineColor| | |InnerLineColor|ColorX| | ||
|InnerFillColor| | |InnerFillColor|ColorX| | ||
|UseFresnel|Bool| | |UseFresnel|Bool| | ||
|LineFarColor| | |LineFarColor|ColorX| what the color of the lines should be when this material is rendered further away zbuffer wise. | ||
|FillFarColor| | |FillFarColor|ColorX| | ||
|InnerLineFarColor| | |InnerLineFarColor|ColorX| | ||
|InnerFillFarColor| | |InnerFillFarColor|ColorX| | ||
|Exp|Float| | |Exp|Float| | ||
|Texture| | |Texture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv13=true| | ||
|ZWrite|ZWrite| | |ZWrite|ZWrite| whether this material should respect the distance it is from the camera. | ||
|DoubleSided|Bool| | |DoubleSided|Bool| | ||
|OffsetFactor|Float| | |OffsetFactor|Float| how much this material should be pushed forwards or backwards on the depth buffer factor wise | ||
|OffsetUnits|Float| | |OffsetUnits|Float| how much this material should be pushed forwards or backwards on the depth buffer unit wise | ||
|RenderQueue|Int| | |RenderQueue|Int| | ||
|_regular| | |_regular|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv19=true| | ||
|_regularDoubleSided| | |_regularDoubleSided|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv20=true| | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == 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. | |||
<!--T:4--> | <!--T:4--> | ||
Line 45: | Line 48: | ||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] | ||
[[Category:Components{{#translation:}}|Wireframe Material]] | [[Category:Components{{#translation:}}|Wireframe Material]] | ||
[[Category:Materials:Unlit{{#translation:}}|Wireframe Material]] | |||
[[Category:Materials{{#translation:}}|Wireframe Material]] | |||
[[Category:Components:Assets:Materials:Unlit{{#translation:}}|Wireframe Material]] | [[Category:Components:Assets:Materials:Unlit{{#translation:}}|Wireframe Material]] |
Latest revision as of 12:00, 1 August 2024
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.