Component:UI TextUnlitMaterial: Difference between revisions

From Resonite Wiki
Automated: update 'StencilComparison' description,'StencilOperation' description,'StencilID' description,'StencilWriteMask' description,'StencilReadMask' description,'RenderQueue' description,'BlendMode' description,'Sidedness' description,'ZWrite' description,'ZTest' description,'OffsetFactor' description,'OffsetUnits' description,
Automated: update 'StencilComparison' description,'StencilOperation' description,'StencilID' description,'StencilWriteMask' description,'StencilReadMask' description,'RenderQueue' description,'BlendMode' description,'Sidedness' description,'ZWrite' description,'ZTest' description,'OffsetFactor' description,'OffsetUnits' description,
 
Line 19: Line 19:
|OutlineThickness|Float|
|OutlineThickness|Float|
|FaceSoftness|Float|
|FaceSoftness|Float|
|BlendMode|BlendMode|{{Template:Material__Desc}}
|BlendMode|BlendMode|{{Template:Material_BlendMode_Desc}}
|Sidedness|Sidedness|{{Template:Material_Sidedness_Desc}}
|Sidedness|Sidedness|{{Template:Material_Sidedness_Desc}}
|ZWrite|ZWrite|{{Template:Material_ZWrite_Desc}}
|ZWrite|ZWrite|{{Template:Material_ZWrite_Desc}}

Latest revision as of 00:50, 14 November 2024

Component image 
UI Text Unlit Material component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Usage

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.
_shader Shader
FontAtlas ITexture2D
TintColor ColorX
OutlineColor ColorX
BackgroundColor ColorX
AutoBackgroundColor Bool
GlyphRenderMethod GlyphRenderMethod
PixelRange Float
FaceDilate Float
OutlineThickness Float
FaceSoftness Float
BlendMode BlendMode How to blend this material's colors vs what it rendered on top of.
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.
ZTest ZTest Determines whether this object should render when it is in front of or behind other objects that respect depth from the camera
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
Overlay Bool
OverlayTint ColorX
Rect Rect
RectClip Bool
ColorMask ColorMask
StencilComparison StencilComparison See Type:StencilComparison for an in depth explanation on what this does.
StencilOperation StencilOperation See Type:StencilOperation for an in depth explanation on what this does.
StencilID Byte The Stencil ID of this material. This is sometimes written to the frame buffer's Stencil mask, or used to determine whether this material should render for a particular pixel.
StencilWriteMask Byte does a Bitwise AND with this number for every pixel in the frame buffer this is rendering on top of when this object is drawn, after reading from the buffer.
StencilReadMask Byte is bitwise ANDed with the Stencil in the frame buffer before the test compares them.

Behavior

Examples

See Also