Class DecalProjector
Decal Projector component.
Inherited Members
Namespace: UnityEngine .Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
[CoreRPHelpURL("renderer-feature-decal", "com.unity.render-pipelines.universal")]
[ExecuteAlways]
[CanEditMultipleObjects]
[AddComponentMenu("Rendering/URP Decal Projector")]
public class DecalProjector : MonoBehaviour
Properties
Name | Description |
---|---|
draw |
Distance from camera at which the Decal is not rendered anymore. |
end |
Angle between decal backward orientation and vertex normal of receiving surface at which the Decal end to fade off. |
fade |
Controls the transparency of the decal. |
fade |
Percent of the distance from the camera at which this Decal start to fade off. |
material | The material used by the decal. |
pivot | Change the offset position. Do not expose: Could be changed by the inspector when manipulating the gizmo. |
rendering |
The layer of the decal. |
scale |
The scaling mode to apply to decals that use this Decal Projector. |
size | The size of the projection volume. |
start |
Angle between decal backward orientation and vertex normal of receiving surface at which the Decal start to fade off. |
uv |
Offset of the UV of the projected texture. |
uv |
Tilling of the UV of the projected texture. |
Methods
Name | Description |
---|---|
Is |
Checks if material is valid for rendering decals. |