Class DecalProjector
Decal Projector component.
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
[CoreRPHelpURLAttribute]
[ExecuteAlways]
[AddComponentMenu("Rendering/URP Decal Projector")]
public class DecalProjector : MonoBehaviour
프로퍼티
이름 | 설명 |
---|---|
drawDistance | Distance from camera at which the Decal is not rendered anymore. |
endAngleFade | Angle between decal backward orientation and vertex normal of receiving surface at which the Decal end to fade off. |
fadeFactor | Controls the transparency of the decal. |
fadeScale | 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. |
renderingLayerMask | The layer of the decal. |
scaleMode | The scaling mode to apply to decals that use this Decal Projector. |
size | The size of the projection volume. |
startAngleFade | Angle between decal backward orientation and vertex normal of receiving surface at which the Decal start to fade off. |
uvBias | Offset of the UV of the projected texture. |
uvScale | Tilling of the UV of the projected texture. |
메서드
이름 | 설명 |
---|---|
IsValid() | Checks if material is valid for rendering decals. |