Component:XiexeToonMaterial: Difference between revisions

From Resonite Wiki
stub, image name
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,
 
(9 intermediate revisions by 3 users not shown)
Line 14: Line 14:
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|HighPriorityIntegration|Bool|  
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}}
|MainTexture|ITexture2D|  
|MainTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv1=true|
|Color|Color|  
|Color|ColorX|
|UseVertexColors|Bool|  
|UseVertexColors|Bool|
|BlendMode|BlendMode|  
|VertexColorInterpolationSpace|ColorProfile|
|ZWrite|ZWrite|  
|BlendMode|BlendMode|{{Template:Material_BlendMode_Desc}}
|AlphaClip|Float|  
|ZWrite|ZWrite|{{Template:Material_ZWrite_Desc}}
|MainTextureScale|Float2|  
|AlphaClip|Float|
|MainTextureOffset|Float2|  
|MainTextureScale|Float2|
|Saturation|Float|  
|MainTextureOffset|Float2|
|NormalMap|ITexture2D|  
|Saturation|Float|
|NormalMapScale|Float2|  
|NormalMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv11=true|
|NormalMapOffset|Float2|  
|NormalMapScale|Float2|
|NormalScale|Float|  
|NormalMapOffset|Float2|
|Metallic|Float|  
|NormalScale|Float|
|Glossiness|Float|  
|Metallic|Float|
|Reflectivity|Float|  
|Glossiness|Float|
|MetallicGlossMap|ITexture2D|  
|Reflectivity|Float|
|MetallicGlossMapScale|Float2|  
|MetallicGlossMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv18=true|
|MetallicGlossMapOffset|Float2|  
|MetallicGlossMapScale|Float2|
|EmissionMap|ITexture2D|  
|MetallicGlossMapOffset|Float2|
|EmissionColor|Color|  
|EmissionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv21=true|
|EmissionMapScale|Float2|  
|EmissionColor|ColorX|
|EmissionMapOffset|Float2|  
|EmissionMapScale|Float2|
|RimColor|Color|  
|EmissionMapOffset|Float2|
|RimAlbedoTint|Float|  
|RimColor|ColorX|
|RimAttenuationEffect|Float|  
|RimAlbedoTint|Float|
|RimIntensity|Float|  
|RimAttenuationEffect|Float|
|RimRange|Float|  
|RimIntensity|Float|
|RimThreshold|Float|  
|RimRange|Float|
|RimSharpness|Float|  
|RimThreshold|Float|
|SpecularIntensity|Float|  
|RimSharpness|Float|
|SpecularArea|Float|  
|SpecularIntensity|Float|
|Matcap|ITexture2D|  
|SpecularArea|Float|
|MatcapTint|Color|  
|Matcap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv34=true|
|OcclusionMap|ITexture2D|  
|MatcapTint|ColorX|
|OcclusionMapScale|Float2|  
|OcclusionMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv36=true|
|OcclusionMapOffset|Float2|  
|OcclusionMapScale|Float2|
|OcclusionColor|Color|  
|OcclusionMapOffset|Float2|
|Outline|OutlineStyle|Defines the type of Outline to show on the material.  
|OcclusionColor|ColorX|
|OutlineWidth|Float|  
|Outline|'''[[#OutlineStyle|OutlineStyle]]'''|TypeAdv40=true|Defines the type of Outline to show on the material.
|OutlineColor|Color|  
|OutlineWidth|Float|
|OutlineAlbedoTint|Bool|  
|OutlineColor|ColorX|
|OutlineMask|ITexture2D| Grayscale mask that determines relative thickeness of outline. Black is no outline. White is 100% of the OutlineWidth value.  
|OutlineAlbedoTint|Bool|
|ShadowRamp|ITexture2D|  
|OutlineMask|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv44=true| Grayscale mask that determines relative thickeness of outline. Black is no outline. White is 100% of the OutlineWidth value.
|ShadowRampMask|ITexture2D| Grayscale mask that selects which pixel row of the Shadow Ramp texture to use for a given texel.
|ShadowRamp|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv45=true|
|ShadowRampMaskScale|Float2|  
|ShadowRampMask|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv46=true| Grayscale mask that selects which pixel row of the Shadow Ramp texture to use for a given texel.
|ShadowRampMaskOffset|Float2|  
|ShadowRampMaskScale|Float2|
|ShadowRim|Color|  
|ShadowRampMaskOffset|Float2|
|ShadowSharpness|Float|  
|ShadowRim|ColorX|
|ShadowRimRange|Float|  
|ShadowSharpness|Float|
|ShadowRimThreshold|Float|  
|ShadowRimRange|Float|
|ShadowRimSharpness|Float|  
|ShadowRimThreshold|Float|
|ShadowRimAlbedoTint|Float|  
|ShadowRimSharpness|Float|
|ThicknessMap|ITexture2D|  
|ShadowRimAlbedoTint|Float|
|ThicknessMapScale|Float2|  
|ThicknessMap|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv55=true|
|ThicknessMapOffset|Float2|  
|ThicknessMapScale|Float2|
|SubsurfaceColor|Color|  
|ThicknessMapOffset|Float2|
|SubsurfaceDistortion|Float|  
|SubsurfaceColor|ColorX|
|SubsurfacePower|Float|  
|SubsurfaceDistortion|Float|
|SubsurfaceScale|Float|  
|SubsurfacePower|Float|
|OffsetFactor|Float|  
|SubsurfaceScale|Float|
|OffsetUnits|Float|  
|OffsetFactor|Float|{{Template:Material_OffsetFactor_Desc}}
|Culling|Culling|  
|OffsetUnits|Float|{{Template:Material_OffsetUnits_Desc}}
|ColorMask|ColorMask|  
|Culling|Culling|
|AlbedoUV|Int|  
|ColorMask|ColorMask|
|NormalUV|Int|  
|AlbedoUV|Int|
|MetallicUV|Int|  
|NormalUV|Int|
|ThicknessUV|Int|  
|MetallicUV|Int|
|OcclusionUV|Int|  
|ThicknessUV|Int|
|EmissionUV|Int|  
|OcclusionUV|Int|
|RenderQueue|Int|  
|EmissionUV|Int|
|__legacyCutout|Bool|  
|RenderQueue|Int|{{Template:Material_RenderQueue_Desc}}
|_regular|Shader|  
|__legacyCutout|Bool|
|_outline|Shader|  
|_regular|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv74=true|
|_outline|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv75=true|
}}
}}


Line 94: Line 95:
== Behavior ==
== Behavior ==


<!--T:5-->
== OutlineStyle ==
 
{{Infobox Enum
|name=OutlineStyle
|type=FrooxEngine.XiexeToonMaterial+OutlineStyle
|nested=true
}}
 
Defines the type of outline to show on the material.
 
{{Table EnumValues
|None|0|There will be no outline.
|Lit|1|The outline will be lit.
|Emissive|2|The outline will be emissive.
}}
 
== Examples ==
== Examples ==


Line 100: Line 116:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:Components{{#translation:}}|XiexeToonMaterial (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Xiexe Toon Material]]
[[Category:Components:Assets:Materials{{#translation:}}|XiexeToonMaterial (Component){{#translation:}}]]
[[Category:Components:Assets:Materials{{#translation:}}|Xiexe Toon Material]]
[[Category:Materials]]
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Materials{{#translation:}}|Xiexe Toon Material]]
[[Category:Components With Nested Enums{{#translation:}}|Xiexe Toon Material]]

Latest revision as of 00:50, 14 November 2024


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


Component image 
Xiexe Toon Material component as seen in the Scene Inspector


Introduction

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.
MainTexture ITexture2D
Color ColorX
UseVertexColors Bool
VertexColorInterpolationSpace ColorProfile
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.
AlphaClip Float
MainTextureScale Float2
MainTextureOffset Float2
Saturation Float
NormalMap ITexture2D
NormalMapScale Float2
NormalMapOffset Float2
NormalScale Float
Metallic Float
Glossiness Float
Reflectivity Float
MetallicGlossMap ITexture2D
MetallicGlossMapScale Float2
MetallicGlossMapOffset Float2
EmissionMap ITexture2D
EmissionColor ColorX
EmissionMapScale Float2
EmissionMapOffset Float2
RimColor ColorX
RimAlbedoTint Float
RimAttenuationEffect Float
RimIntensity Float
RimRange Float
RimThreshold Float
RimSharpness Float
SpecularIntensity Float
SpecularArea Float
Matcap ITexture2D
MatcapTint ColorX
OcclusionMap ITexture2D
OcclusionMapScale Float2
OcclusionMapOffset Float2
OcclusionColor ColorX
Outline OutlineStyle Defines the type of Outline to show on the material.
OutlineWidth Float
OutlineColor ColorX
OutlineAlbedoTint Bool
OutlineMask ITexture2D Grayscale mask that determines relative thickeness of outline. Black is no outline. White is 100% of the OutlineWidth value.
ShadowRamp ITexture2D
ShadowRampMask ITexture2D Grayscale mask that selects which pixel row of the Shadow Ramp texture to use for a given texel.
ShadowRampMaskScale Float2
ShadowRampMaskOffset Float2
ShadowRim ColorX
ShadowSharpness Float
ShadowRimRange Float
ShadowRimThreshold Float
ShadowRimSharpness Float
ShadowRimAlbedoTint Float
ThicknessMap ITexture2D
ThicknessMapScale Float2
ThicknessMapOffset Float2
SubsurfaceColor ColorX
SubsurfaceDistortion Float
SubsurfacePower Float
SubsurfaceScale Float
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
Culling Culling
ColorMask ColorMask
AlbedoUV Int
NormalUV Int
MetallicUV Int
ThicknessUV Int
OcclusionUV Int
EmissionUV Int
RenderQueue Int changes at which point a material renders on the render stack
__legacyCutout Bool
_regular Shader
_outline Shader

Behavior

OutlineStyle

Nested Enum
Name: OutlineStyle
Type: FrooxEngine.XiexeToonMaterial+OutlineStyle

Defines the type of outline to show on the material.

Values
Name Value Description
None 0 There will be no outline.
Lit 1 The outline will be lit.
Emissive 2 The outline will be emissive.


Examples

Related Components