Automated: update 'HighPriorityIntegration' description |
989onan bot (talk | contribs) Automated: update '_shader' description,'MainTexture' description,'ColorMask' description,'EmissionMap' description,'NormalMap' description,'MainTextureScale' description,'MainTextureOffset' description,'ColorMaskScale' description,'ColorMaskOffset' description,'EmissionMapScale' description,'EmissionMapOffset' description,'NormalMapScale' description,'NormalMapOffset' description,'AlphaCutoff' description,'Color' description,'EmissionColor' description,'Shadow' description,'Outline' descript... |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|Name=Flat Lit Toon Material | |Name=Flat Lit Toon Material | ||
}} | }} | ||
{{ | The '''FlatLitToonMaterial''' is a material that used to be used before the [[Component:XiexeToonMaterial|xiexe toon material]]. | ||
{{Obsolete}} | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | |HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | ||
|_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true| | |_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true|{{Template:Material__shader}} | ||
|MainTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv2=true| | |MainTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv2=true|{{Template:Material_MainTexture}} | ||
|ColorMask|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv3=true| | |ColorMask|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv3=true|{{Template:Material_ColorMask}} | ||
|EmissionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv4=true| | |EmissionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv4=true|{{Template:Material_EmissionMap}} | ||
|NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv5=true| | |NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv5=true|{{Template:Material_NormalMap}} | ||
|MainTextureScale|Float2| | |MainTextureScale|Float2|{{Template:Material_MainTextureScale}} | ||
|MainTextureOffset|Float2| | |MainTextureOffset|Float2|{{Template:Material_MainTextureOffset}} | ||
|ColorMaskScale|Float2| | |ColorMaskScale|Float2|{{Template:Material_ColorMaskScale}} | ||
|ColorMaskOffset|Float2| | |ColorMaskOffset|Float2|{{Template:Material_ColorMaskOffset}} | ||
|EmissionMapScale|Float2| | |EmissionMapScale|Float2|{{Template:Material_EmissionMapScale}} | ||
|EmissionMapOffset|Float2| | |EmissionMapOffset|Float2|{{Template:Material_EmissionMapOffset}} | ||
|NormalMapScale|Float2| | |NormalMapScale|Float2|{{Template:Material_NormalMapScale}} | ||
|NormalMapOffset|Float2| | |NormalMapOffset|Float2|{{Template:Material_NormalMapOffset}} | ||
|AlphaCutoff|Float| | |AlphaCutoff|Float|{{Template:Material_AlphaCutoff}} | ||
|Color|ColorX| | |Color|ColorX|{{Template:Material_Color}} | ||
|EmissionColor|ColorX| | |EmissionColor|ColorX|{{Template:Material_EmissionColor}} | ||
|BlendMode|BlendMode| | |BlendMode|BlendMode|{{Template:Material_BlendMode_Desc}} | ||
|ZWrite|ZWrite| | |ZWrite|ZWrite|{{Template:Material_ZWrite_Desc}} | ||
|Shadow|Float| | |Shadow|Float|{{Template:Material_Shadow}} | ||
|Outline|'''[[#OutlineStyle|OutlineStyle]]'''|TypeAdv20=true| | |Outline|'''[[#OutlineStyle|OutlineStyle]]'''|TypeAdv20=true|{{Template:Material_Outline}} | ||
|OutlineWidth|Float| | |OutlineWidth|Float|{{Template:Material_OutlineWidth}} | ||
|OutlineColor|ColorX| | |OutlineColor|ColorX|{{Template:Material_OutlineColor}} | ||
|OutlineTint|Float| | |OutlineTint|Float|{{Template:Material_OutlineTint}} | ||
|OffsetFactor|Float| | |OffsetFactor|Float|{{Template:Material_OffsetFactor_Desc}} | ||
|OffsetUnits|Float| | |OffsetUnits|Float|{{Template:Material_OffsetUnits_Desc}} | ||
|RenderQueue|Int| | |RenderQueue|Int|{{Template:Material_RenderQueue_Desc}} | ||
}} | |||
== OutlineStyle == | |||
{{Table EnumValues | |||
|None|0| No outline. | |||
|Tinted|1| Outline that is tinted based on the mesh it is outlining around. | |||
|Colored|2| Outline is a solid color | |||
}} | }} | ||
== | == Usage == | ||
Obsolete. | |||
== Examples == | == Examples == | ||
Obsolete. | |||
== See Also == | == See Also == | ||
* [[Component:XiexeToonMaterial]] | |||
[[Category:Components:Uncategorized{{#translation:}}|Flat Lit Toon Material]] | [[Category:Components:Uncategorized{{#translation:}}|Flat Lit Toon Material]] | ||
[[Category:Components{{#translation:}}|Flat Lit Toon Material]] | [[Category:Components{{#translation:}}|Flat Lit Toon Material]] | ||
[[Category:Components With Nested Enums{{#translation:}}|Flat Lit Toon Material]] | [[Category:Components With Nested Enums{{#translation:}}|Flat Lit Toon Material]] | ||
Latest revision as of 20:42, 29 June 2025
Component image File:FlatLitToonMaterialComponent.pngFlat Lit Toon Material component as seen in the Scene Inspector
The FlatLitToonMaterial is a material that used to be used before the xiexe toon material.
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. |
MainTexture
|
ITexture2D | The main color map of the material. |
ColorMask
|
ITexture2D | What colors behind the material should make it through the filter. |
EmissionMap
|
ITexture2D | The glow or emission color map. |
NormalMap
|
ITexture2D | The normal map is used as a way to change the appearance of a surface when shined on by lights, to give the illusion of a raised surface. |
MainTextureScale
|
Float2 | The UV scaling of the main texture. |
MainTextureOffset
|
Float2 | The UV offset of the main texture. |
ColorMaskScale
|
Float2 | The UV scaling of the color mask texture. |
ColorMaskOffset
|
Float2 | The UV offset of the color mask texture. |
EmissionMapScale
|
Float2 | The UV scaling of the emission texture. |
EmissionMapOffset
|
Float2 | The UV offset of the emission texture. |
NormalMapScale
|
Float2 | The UV scaling of the normal map texture. |
NormalMapOffset
|
Float2 | The UV offset of the normal texture. |
AlphaCutoff
|
Float | If BlendMode is set to cutout, discard rendering of pixels for the surface that fall below this alpha threshold.
|
Color
|
ColorX | The surface color texture of the material. |
EmissionColor
|
ColorX | The tint of the emission color. |
BlendMode
|
BlendMode | How to blend this material's colors vs what it rendered on top of. |
ZWrite
|
ZWrite | whether this material should respect the distance it is from the camera. |
Shadow
|
Float | The strength of shadow on the toon material. |
Outline
|
OutlineStyle | The outline style to use. |
OutlineWidth
|
Float | The thickness of the outline around the mesh. |
OutlineColor
|
ColorX | The color of the outline around the mesh. |
OutlineTint
|
Float | How much to tint the outline around the mesh. |
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 |
OutlineStyle
Name | Value | Description |
---|---|---|
None
|
0 | No outline. |
Tinted
|
1 | Outline that is tinted based on the mesh it is outlining around. |
Colored
|
2 | Outline is a solid color |
Usage
Obsolete.
Examples
Obsolete.